Skip to content

Commit

Permalink
fix(spanner): Fixed unit test for multiplexed session.
Browse files Browse the repository at this point in the history
  • Loading branch information
pratickchokhani committed Dec 10, 2024
1 parent fb6d0bf commit 1f49e7f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,9 @@ public void write() throws InterruptedException {

@Test
public void writeAtLeastOnce() throws InterruptedException {
assumeFalse(
"Multiplexed session do not throw a SessionNotFound errors. ",
spanner.getOptions().getSessionPoolOptions().getUseMultiplexedSession());
assertThrowsSessionNotFoundIfShouldFail(
() ->
client.writeAtLeastOnce(
Expand Down

0 comments on commit 1f49e7f

Please sign in to comment.