Skip to content

Commit 33038c4

Browse files
committed
use single thread for test
1 parent 3280a6a commit 33038c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/net/HostResolverTest.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
package aws.smithy.kotlin.runtime.net
66

77
import kotlinx.coroutines.test.runTest
8+
import org.junit.jupiter.api.parallel.Execution
9+
import org.junit.jupiter.api.parallel.ExecutionMode
810
import kotlin.test.*
911

1012
class HostResolverTest {
@@ -24,6 +26,7 @@ class HostResolverTest {
2426
}
2527
}
2628

29+
@Execution(ExecutionMode.SAME_THREAD)
2730
@Test
2831
fun testResolveIpv4Address() = runTest {
2932
val addresses = HostResolver.Default.resolve("127.0.0.1")

0 commit comments

Comments
 (0)