diff --git a/mirai-core/src/commonTest/kotlin/network/framework/AbstractRealNetworkHandlerTest.kt b/mirai-core/src/commonTest/kotlin/network/framework/AbstractRealNetworkHandlerTest.kt index 7f42abe76..cbff752ed 100644 --- a/mirai-core/src/commonTest/kotlin/network/framework/AbstractRealNetworkHandlerTest.kt +++ b/mirai-core/src/commonTest/kotlin/network/framework/AbstractRealNetworkHandlerTest.kt @@ -60,8 +60,12 @@ internal abstract class AbstractRealNetworkHandlerTest : Abs @AfterTest fun afterEach() { println("Test finished, closing Bot") - if (botInit) bot.close() - runBlockingUnit { bot.join() } + if (botInit) { + bot.close() + println("joining Bot") + runBlockingUnit { bot.join() } + println("cleanup ok") + } } protected open fun createBot(account: BotAccount = MockAccount): QQAndroidBot {