Skip to content

Commit 8c66da3

Browse files
authored
chore: fix flaky subscription test (#1787)
1 parent c10e466 commit 8c66da3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

servers/graphql-kotlin-ktor-server/src/test/kotlin/com/expediagroup/graphql/server/ktor/subscriptions/graphqlws/KtorGraphQLWebSocketProtocolHandlerTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ class KtorGraphQLWebSocketProtocolHandlerTest {
500500
block.invoke(session)
501501
handlerJob.cancelAndJoin()
502502
} finally {
503+
delay(300)
503504
session.closeChannels()
504505
}
505506
}

0 commit comments

Comments
 (0)