From f54b562d3fae512e380375651d1b0cc8e8356109 Mon Sep 17 00:00:00 2001 From: Sakthivel Subramanian Date: Mon, 6 Jan 2025 23:18:22 +0530 Subject: [PATCH] fix(spanner): unflake unit tests --- .../java/com/google/cloud/spanner/ResumableStreamIterator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/ResumableStreamIterator.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/ResumableStreamIterator.java index 39165da2d38..eccfe12a0ea 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/ResumableStreamIterator.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/ResumableStreamIterator.java @@ -68,7 +68,7 @@ abstract class ResumableStreamIterator extends AbstractIterator stream; + private volatile CloseableIterator stream; private ByteString resumeToken; private boolean finished; /**