File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
src/test/java/com/google/cloud/spanner/connection Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 828828 <className >com/google/cloud/spanner/SpannerOptions$SpannerEnvironment</className >
829829 <method >com.google.auth.oauth2.GoogleCredentials getDefaultExperimentalHostCredentials()</method >
830830 </difference >
831+ <difference >
832+ <differenceType >7002</differenceType >
833+ <className >com/google/cloud/spanner/SpannerOptions$SpannerEnvironment</className >
834+ <method >com.google.auth.oauth2.GoogleCredentials getDefaultExternalHostCredentials()</method >
835+ </difference >
836+ <difference >
837+ <differenceType >7002</differenceType >
838+ <className >com/google/cloud/spanner/SpannerOptions</className >
839+ <method >com.google.auth.oauth2.GoogleCredentials getDefaultExternalHostCredentialsFromSysEnv()</method >
840+ </difference >
831841
832842 <!-- Default sequence kind -->
833843 <difference >
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