Commit de1b84c
committed
Clear interrupted status of a thread in test
`RetryWithDelayTest#throwsWhenSleepInterrupted()` test mocks throwing of
`InterruptedException` and triggers handling code to restore the interrupted
status. This caused some subsequent tests to fail because they still saw
current thread as being interrupted.
This commit adds clearing of the interrupted status to the test.1 parent 2b565b7 commit de1b84c
File tree
1 file changed
+5
-0
lines changed- driver/src/test/java/org/neo4j/driver/internal/retry
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
155 | 160 | | |
156 | 161 | | |
157 | 162 | | |
| |||
0 commit comments