Skip to content

Commit 9d43ad5

Browse files
committed
Fix with Junit5
1 parent 0b6908f commit 9d43ad5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/test/java/org/testcontainers/utility/TimeoutsShutdownTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.testcontainers.utility;
22

3-
import org.junit.Test;
3+
import org.junit.jupiter.api.Test;
44
import org.testcontainers.utility.ducttape.Timeouts;
55

66
import java.util.concurrent.TimeUnit;
@@ -11,10 +11,10 @@
1111
* Verifies that {@link Timeouts} works correctly across shutdown/reuse cycles.
1212
* After {@code shutdown()} the executor is re-created on next use.
1313
*/
14-
public class TimeoutsShutdownTest {
14+
class TimeoutsShutdownTest {
1515

1616
@Test
17-
public void timeoutsWorkAfterShutdown() {
17+
void timeoutsWorkAfterShutdown() {
1818
// First use
1919
String result1 = Timeouts.getWithTimeout(5, TimeUnit.SECONDS, () -> "container-1-ready");
2020
assertThat(result1).isEqualTo("container-1-ready");

0 commit comments

Comments
 (0)