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 828
828
<className >com/google/cloud/spanner/SpannerOptions$SpannerEnvironment</className >
829
829
<method >com.google.auth.oauth2.GoogleCredentials getDefaultExperimentalHostCredentials()</method >
830
830
</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 >
831
841
832
842
<!-- Default sequence kind -->
833
843
<difference >
Original file line number Diff line number Diff line change 24
24
import static org .junit .Assert .assertThrows ;
25
25
import static org .junit .Assert .assertTrue ;
26
26
import static org .junit .Assume .assumeFalse ;
27
+ import static org .junit .Assume .assumeTrue ;
27
28
28
29
import com .google .api .core .SettableApiFuture ;
29
30
import com .google .api .gax .longrunning .OperationTimedPollAlgorithm ;
@@ -662,6 +663,8 @@ public void testCancelReadOnlyAutocommitMultipleStatements() {
662
663
assumeFalse (
663
664
"Direct executor does not yet support cancelling statements" ,
664
665
statementExecutorType == StatementExecutorType .DIRECT_EXECUTOR );
666
+ // TODO: Look into this for multiplexed sessions.
667
+ assumeTrue (System .getenv ("GOOGLE_CLOUD_SPANNER_MULTIPLEXED_SESSIONS" ) == null );
665
668
666
669
mockSpanner .setExecuteStreamingSqlExecutionTime (
667
670
SimulatedExecutionTime .ofMinimumAndRandomTime (EXECUTION_TIME_SLOW_STATEMENT , 0 ));
You can’t perform that action at this time.
0 commit comments