Skip to content

Commit 9e6bc5a

Browse files
Fix tests
1 parent fbdc8cf commit 9e6bc5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS_FOR_RW: true
115115
units-with-regular-session8:
116116
# Building using Java 17 and run the tests with Java 8 runtime
117-
name: "units-with-multiplexed-session (8)"
117+
name: "units-with-regular-session (8)"
118118
runs-on: ubuntu-latest
119119
steps:
120120
- uses: actions/checkout@v4

google-cloud-spanner/src/test/java/com/google/cloud/spanner/RetryOnDifferentGrpcChannelMockServerTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ public void testSingleUseQuery_retriesOnNewChannel() {
313313

314314
@Test
315315
public void testSingleUseQuery_stopsRetrying() {
316+
assumeFalse(TestHelper.isMultiplexSessionDisabled());
316317
SpannerOptions.Builder builder = createSpannerOptionsBuilder();
317318
builder.setSessionPoolOption(
318319
SessionPoolOptions.newBuilder().setUseMultiplexedSession(true).build());

0 commit comments

Comments
 (0)