File tree Expand file tree Collapse file tree 6 files changed +5
-45
lines changed
hadoop-hdfs-native-client
src/test/java/org/apache/hadoop/hdfs/server/federation/router Expand file tree Collapse file tree 6 files changed +5
-45
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
64
64
<artifactId >jakarta.ws.rs-api</artifactId >
65
65
<scope >compile</scope >
66
66
</dependency >
67
- <dependency >
68
- <groupId >junit</groupId >
69
- <artifactId >junit</artifactId >
70
- <scope >test</scope >
71
- </dependency >
72
67
<dependency >
73
68
<groupId >org.mockito</groupId >
74
69
<artifactId >mockito-inline</artifactId >
@@ -148,11 +143,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
148
143
<artifactId >junit-platform-launcher</artifactId >
149
144
<scope >test</scope >
150
145
</dependency >
151
- <dependency >
152
- <groupId >org.junit.vintage</groupId >
153
- <artifactId >junit-vintage-engine</artifactId >
154
- <scope >test</scope >
155
- </dependency >
156
146
</dependencies >
157
147
158
148
<build >
Original file line number Diff line number Diff line change 42
42
</properties >
43
43
44
44
<dependencies >
45
- <dependency >
46
- <groupId >junit</groupId >
47
- <artifactId >junit</artifactId >
48
- <scope >test</scope >
49
- </dependency >
50
45
<dependency >
51
46
<groupId >org.mockito</groupId >
52
47
<artifactId >mockito-inline</artifactId >
Original file line number Diff line number Diff line change @@ -72,11 +72,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
72
72
<artifactId >mockito-inline</artifactId >
73
73
<scope >test</scope >
74
74
</dependency >
75
- <dependency >
76
- <groupId >junit</groupId >
77
- <artifactId >junit</artifactId >
78
- <scope >test</scope >
79
- </dependency >
80
75
<dependency >
81
76
<groupId >org.junit.jupiter</groupId >
82
77
<artifactId >junit-jupiter-api</artifactId >
@@ -97,11 +92,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
97
92
<artifactId >junit-platform-launcher</artifactId >
98
93
<scope >test</scope >
99
94
</dependency >
100
- <dependency >
101
- <groupId >org.junit.vintage</groupId >
102
- <artifactId >junit-vintage-engine</artifactId >
103
- <scope >test</scope >
104
- </dependency >
105
95
</dependencies >
106
96
107
97
<build >
Original file line number Diff line number Diff line change @@ -153,11 +153,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
153
153
<artifactId >jakarta.servlet-api</artifactId >
154
154
<scope >compile</scope >
155
155
</dependency >
156
- <dependency >
157
- <groupId >junit</groupId >
158
- <artifactId >junit</artifactId >
159
- <scope >test</scope >
160
- </dependency >
161
156
<dependency >
162
157
<groupId >org.mockito</groupId >
163
158
<artifactId >mockito-inline</artifactId >
@@ -193,11 +188,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
193
188
<artifactId >junit-jupiter-engine</artifactId >
194
189
<scope >test</scope >
195
190
</dependency >
196
- <dependency >
197
- <groupId >org.junit.vintage</groupId >
198
- <artifactId >junit-vintage-engine</artifactId >
199
- <scope >test</scope >
200
- </dependency >
201
191
<dependency >
202
192
<groupId >org.junit.platform</groupId >
203
193
<artifactId >junit-platform-launcher</artifactId >
Original file line number Diff line number Diff line change @@ -121,11 +121,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
121
121
<groupId >com.zaxxer</groupId >
122
122
<artifactId >HikariCP</artifactId >
123
123
</dependency >
124
- <dependency >
125
- <groupId >junit</groupId >
126
- <artifactId >junit</artifactId >
127
- <scope >test</scope >
128
- </dependency >
129
124
<dependency >
130
125
<groupId >org.apache.hadoop</groupId >
131
126
<artifactId >hadoop-hdfs</artifactId >
@@ -187,11 +182,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
187
182
<artifactId >junit-jupiter-engine</artifactId >
188
183
<scope >test</scope >
189
184
</dependency >
190
- <dependency >
191
- <groupId >org.junit.vintage</groupId >
192
- <artifactId >junit-vintage-engine</artifactId >
193
- <scope >test</scope >
194
- </dependency >
195
185
<dependency >
196
186
<groupId >org.junit.platform</groupId >
197
187
<artifactId >junit-platform-launcher</artifactId >
Original file line number Diff line number Diff line change @@ -117,6 +117,11 @@ public void destroy() {
117
117
}
118
118
} catch (IOException e ) {
119
119
// do nothing
120
+ } finally {
121
+ cluster = null ;
122
+ routerContext = null ;
123
+ mountTableManager = null ;
124
+ curatorTestingServer = null ;
120
125
}
121
126
}
122
127
You can’t perform that action at this time.
0 commit comments