File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ private void awaitDeleted(Session session) {
114114
Thread.sleep(500L);
115115
} catch (SpannerException e) {
116116
if (e.getErrorCode() == ErrorCode.NOT_FOUND
117-
&& e.getMessage().contains("Session not found")) {
117+
&& (e.getMessage().contains("Session not found")
118+
|| e.getMessage().contains("Session was concurrently deleted"))) {
118119
break;
119120
} else {
120121
throw e;

0 commit comments

Comments
 (0)