Skip to content

Commit

Permalink
chore(spanner): skip AsyncRunner tests
Browse files Browse the repository at this point in the history
  • Loading branch information
harshachinta committed Dec 23, 2024
1 parent d7385c3 commit 138c58f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeFalse;

import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
Expand Down Expand Up @@ -59,6 +60,7 @@ public void clearRequests() {

@Test
public void testAsyncRunner_doesNotReturnCommitTimestampBeforeCommit() {
assumeFalse("Skipping for mux", isMultiplexedSessionsEnabledForRW());
AsyncRunner runner = client().runAsync();
IllegalStateException e =
assertThrows(IllegalStateException.class, () -> runner.getCommitTimestamp());
Expand All @@ -67,6 +69,7 @@ public void testAsyncRunner_doesNotReturnCommitTimestampBeforeCommit() {

@Test
public void testAsyncRunner_doesNotReturnCommitResponseBeforeCommit() {
assumeFalse("Skipping for mux", isMultiplexedSessionsEnabledForRW());
AsyncRunner runner = client().runAsync();
IllegalStateException e =
assertThrows(IllegalStateException.class, () -> runner.getCommitResponse());
Expand Down

0 comments on commit 138c58f

Please sign in to comment.