File tree Expand file tree Collapse file tree 3 files changed +2
-16
lines changed
ratis-common/src/test/java/org/apache/ratis Expand file tree Collapse file tree 3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 221221 <testsThreadCount >4</testsThreadCount >
222222
223223 <slf4j .version>2.0.7</slf4j .version>
224- <junit-bom .version>5.11.2</junit-bom .version>
225- <mockito .version>4.3.1</mockito .version>
226- <tomcat .version>6.0.53</tomcat .version>
224+ <junit-bom .version>5.12.2</junit-bom .version>
225+ <mockito .version>4.11.0</mockito .version>
227226 <jacoco .version>0.8.12</jacoco .version>
228227 <flaky-test-groups >flaky | org.apache.ratis.test.tag.FlakyTest</flaky-test-groups >
229228 </properties >
431430 <artifactId >mockito-core</artifactId >
432431 <version >${mockito.version} </version >
433432 </dependency >
434- <dependency >
435- <groupId >org.apache.tomcat</groupId >
436- <artifactId >annotations-api</artifactId >
437- <version >${tomcat.version} </version >
438- <scope >provided</scope >
439- </dependency >
440433 </dependencies >
441434 </dependencyManagement >
442435
Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ public void setFirstException(Throwable e) {
7070 }
7171 }
7272
73- // TODO: Junit 4 reference should be removed once all the unit tests are migrated to Junit 5.
74-
7573 private String testCaseName ;
7674
7775 @ BeforeEach
@@ -127,7 +125,6 @@ public File getClassTestDir() {
127125 }
128126
129127 public File getTestDir () {
130- // This will work for both junit 4 and 5.
131128 return new File (getClassTestDir (), testCaseName );
132129 }
133130
Original file line number Diff line number Diff line change 175175 <groupId >org.apache.ratis</groupId >
176176 <artifactId >ratis-thirdparty-misc</artifactId >
177177 </dependency >
178- <dependency >
179- <groupId >org.apache.tomcat</groupId >
180- <artifactId >annotations-api</artifactId >
181- </dependency >
182178 </dependencies >
183179</project >
You can’t perform that action at this time.
0 commit comments