File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
google-cloud-spanner/src/test/java/com/google/cloud/spanner Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 7474 # If we rely on certain things only available in newer JVM than Java 8, this
7575 # tests detect the usage.
7676 echo " SUREFIRE_JVM_OPT: ${SUREFIRE_JVM_OPT} "
77- mvn test -B -V \
77+ mvn test -B -V -Dtest=RetryOnInvalidatedSessionTest -Dsurefire.failIfNoSpecifiedTests=false \
7878 -Dclirr.skip=true \
7979 -Denforcer.skip=true \
8080 -Djava.net.preferIPv4Stack=true \
Original file line number Diff line number Diff line change @@ -1750,13 +1750,16 @@ private void asyncTransactionManager_readRowFunction(
17501750 TransactionContextFuture context = manager .beginAsync ();
17511751 while (true ) {
17521752 try {
1753+ System .out .println ("Inside while" );
17531754 AsyncTransactionStep <Void , Struct > row =
17541755 context .then ((transaction , ignored ) -> fn .apply (transaction ), executor );
17551756 CommitTimestampFuture ts = row .commitAsync ();
17561757 assertThrowsSessionNotFoundIfShouldFail (() -> get (ts ));
17571758 break ;
17581759 } catch (AbortedException e ) {
17591760 context = manager .resetForRetryAsync ();
1761+ } catch (Exception e ) {
1762+ System .out .println ("Got exception " + e .getMessage ());
17601763 }
17611764 }
17621765 } finally {
You can’t perform that action at this time.
0 commit comments