Skip to content

Commit 4e0f66c

Browse files
committed
Enable execution for ExecuteTests in same thread again
1 parent af98f3c commit 4e0f66c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/kotlin/org/jetbrains/kotlinx/jupyter/test/executeTests.kt

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import org.junit.jupiter.api.Assertions.assertEquals
2727
import org.junit.jupiter.api.Assertions.assertNull
2828
import org.junit.jupiter.api.Test
2929
import org.junit.jupiter.api.Timeout
30+
import org.junit.jupiter.api.parallel.Execution
31+
import org.junit.jupiter.api.parallel.ExecutionMode
3032
import org.zeromq.ZMQ
3133
import java.io.File
3234
import java.net.URLClassLoader
@@ -42,6 +44,7 @@ fun JsonObject.string(key: String): String {
4244
}
4345

4446
@Timeout(100, unit = TimeUnit.SECONDS)
47+
@Execution(ExecutionMode.SAME_THREAD)
4548
class ExecuteTests : KernelServerTestsBase() {
4649
private var context: ZMQ.Context? = null
4750
private var shell: ClientSocket? = null

0 commit comments

Comments
 (0)