File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
core/config-resolver-s3/src/test/java/io/gatehill/imposter/config Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,8 @@ import io.gatehill.imposter.config.support.TestSupport.uploadFileToS3
5151import io.gatehill.imposter.util.TestEnvironmentUtil.assumeDockerAccessible
5252import io.vertx.core.AsyncResult
5353import io.vertx.core.Vertx
54- import org.junit.*
54+ import org.junit.jupiter.api. *
5555import org.junit.jupiter.api.Assertions.assertTrue
56- import org.junit.jupiter.api.BeforeEach
5756import java.io.File
5857import java.nio.file.Files
5958
@@ -84,7 +83,7 @@ class S3FileDownloaderTest {
8483 uploadFileToS3(s3Mock!! , " /config" , " unused-subdir/" )
8584 }
8685
87- @After
86+ @AfterEach
8887 fun tearDown () {
8988 try {
9089 s3Mock?.takeIf { it.isRunning }?.stop()
@@ -122,13 +121,13 @@ class S3FileDownloaderTest {
122121 private var vertx: Vertx ? = null
123122
124123 @JvmStatic
125- @BeforeClass
124+ @BeforeAll
126125 fun beforeClass () {
127126 vertx = Vertx .vertx()
128127 }
129128
130129 @JvmStatic
131- @AfterClass
130+ @AfterAll
132131 @Throws(Exception ::class )
133132 fun afterClass () {
134133 blockWait<AsyncResult <Void >? > { completionHandler -> vertx!! .close(completionHandler) }
You can’t perform that action at this time.
0 commit comments