Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 6dae62d

Browse files
committed
Merge branch 'master' of github.com:donbeave/graphql-spring-boot
2 parents 32cc97b + 4118504 commit 6dae62d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graphql-spring-boot-test/src/main/java/com/graphql/spring/boot/test/GraphQLTestSubscription.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ public List<GraphQLResponse> awaitAndGetNextResponses(
309309
Thread.sleep(timeout);
310310
} catch (InterruptedException e) {
311311
fail("Unable to wait the specified amount of time.", e);
312+
// Restore interrupted state
313+
Thread.currentThread().interrupt();
312314
}
313315
}
314316

0 commit comments

Comments
 (0)