File tree 4 files changed +23
-5
lines changed
4 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 11
11
<dependency >
12
12
<groupId >org.apache.hadoop</groupId >
13
13
<artifactId >hadoop-minicluster</artifactId >
14
- <version >3.3.6</version >
14
+ <version >3.4.0</version >
15
+ <exclusions >
16
+ <exclusion >
17
+ <groupId >ch.qos.logback</groupId >
18
+ <artifactId >*</artifactId >
19
+ </exclusion >
20
+ </exclusions >
15
21
</dependency >
16
22
<dependency >
17
23
<groupId >org.apache.hadoop</groupId >
18
24
<artifactId >hadoop-minikdc</artifactId >
19
- <version >3.3.6 </version >
25
+ <version >3.4.0 </version >
20
26
</dependency >
21
27
<dependency >
22
28
<groupId >org.apache.hadoop</groupId >
23
29
<artifactId >hadoop-hdfs-rbf</artifactId >
24
- <version >3.3.6 </version >
30
+ <version >3.4.0 </version >
25
31
</dependency >
26
32
<dependency >
27
33
<groupId >org.apache.hadoop</groupId >
28
34
<artifactId >hadoop-hdfs-rbf</artifactId >
29
- <version >3.3.6 </version >
35
+ <version >3.4.0 </version >
30
36
<type >test-jar</type >
31
37
</dependency >
38
+ <dependency >
39
+ <groupId >org.apache.hadoop</groupId >
40
+ <artifactId >hadoop-federation-balance</artifactId >
41
+ <version >3.4.0</version >
42
+ </dependency >
32
43
<dependency >
33
44
<groupId >junit</groupId >
34
45
<artifactId >junit</artifactId >
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ mod test {
74
74
async fn test_erasure_coded_read ( ) -> Result < ( ) > {
75
75
let _ = env_logger:: builder ( ) . is_test ( true ) . try_init ( ) ;
76
76
77
+ #[ allow( unused_mut) ]
77
78
let mut dfs_features = HashSet :: from ( [ DfsFeatures :: EC ] ) ;
78
79
#[ cfg( feature = "kerberos" ) ]
79
80
dfs_features. insert ( DfsFeatures :: Security ) ;
@@ -118,6 +119,7 @@ mod test {
118
119
async fn test_erasure_coded_write ( ) -> Result < ( ) > {
119
120
let _ = env_logger:: builder ( ) . is_test ( true ) . try_init ( ) ;
120
121
122
+ #[ allow( unused_mut) ]
121
123
let mut dfs_features = HashSet :: from ( [ DfsFeatures :: EC ] ) ;
122
124
#[ cfg( feature = "kerberos" ) ]
123
125
dfs_features. insert ( DfsFeatures :: Security ) ;
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ mod test {
34
34
35
35
#[ tokio:: test]
36
36
#[ serial]
37
+ #[ cfg( feature = "kerberos" ) ]
37
38
async fn test_integrity_kerberos ( ) {
38
39
test_with_features ( & HashSet :: from ( [
39
40
DfsFeatures :: Security ,
@@ -81,6 +82,7 @@ mod test {
81
82
82
83
#[ tokio:: test]
83
84
#[ serial]
85
+ #[ cfg( feature = "kerberos" ) ]
84
86
async fn test_aes ( ) {
85
87
test_with_features ( & HashSet :: from ( [
86
88
DfsFeatures :: Security ,
@@ -93,6 +95,7 @@ mod test {
93
95
94
96
#[ tokio:: test]
95
97
#[ serial]
98
+ #[ cfg( feature = "kerberos" ) ]
96
99
async fn test_forced_data_transfer_encryption ( ) {
97
100
// DataTransferEncryption enabled but privacy isn't, still force encryption
98
101
test_with_features ( & HashSet :: from ( [
@@ -105,6 +108,7 @@ mod test {
105
108
106
109
#[ tokio:: test]
107
110
#[ serial]
111
+ #[ cfg( feature = "kerberos" ) ]
108
112
async fn test_data_transfer_encryption ( ) {
109
113
test_with_features ( & HashSet :: from ( [
110
114
DfsFeatures :: Security ,
@@ -117,6 +121,7 @@ mod test {
117
121
118
122
#[ tokio:: test]
119
123
#[ serial]
124
+ #[ cfg( feature = "kerberos" ) ]
120
125
async fn test_data_transfer_encryption_aes ( ) {
121
126
test_with_features ( & HashSet :: from ( [
122
127
DfsFeatures :: Security ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ mod test {
18
18
#[ cfg( feature = "kerberos" ) ]
19
19
let _dfs = MiniDfs :: with_features ( & HashSet :: from ( [ DfsFeatures :: HA , DfsFeatures :: Security ] ) ) ;
20
20
#[ cfg( not( feature = "kerberos" ) ) ]
21
- let _dfs = MiniDfs :: with_features ( & HashSet :: from ( [ DfsFeatures :: HA , DfsFeatures :: RBF ] ) ) ;
21
+ let _dfs = MiniDfs :: with_features ( & HashSet :: from ( [ DfsFeatures :: HA ] ) ) ;
22
22
let client = Client :: default ( ) ;
23
23
24
24
// Second client for checking lease
You can’t perform that action at this time.
0 commit comments