File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2424import static org .junit .Assert .assertThrows ;
2525import static org .junit .Assert .assertTrue ;
2626import static org .junit .Assume .assumeFalse ;
27+ import static org .junit .Assume .assumeTrue ;
2728
2829import com .google .api .core .SettableApiFuture ;
2930import com .google .api .gax .longrunning .OperationTimedPollAlgorithm ;
@@ -662,6 +663,8 @@ public void testCancelReadOnlyAutocommitMultipleStatements() {
662663 assumeFalse (
663664 "Direct executor does not yet support cancelling statements" ,
664665 statementExecutorType == StatementExecutorType .DIRECT_EXECUTOR );
666+ // TODO: Look into this for multiplexed sessions.
667+ assumeTrue (System .getenv ("GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS" ) == null );
665668
666669 mockSpanner .setExecuteStreamingSqlExecutionTime (
667670 SimulatedExecutionTime .ofMinimumAndRandomTime (EXECUTION_TIME_SLOW_STATEMENT , 0 ));
You can’t perform that action at this time.
0 commit comments