Skip to content

Commit

Permalink
Add runner logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthivelmanii committed Jan 6, 2025
1 parent bd3e451 commit 4afff99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test)
# If we rely on certain things only available in newer JVM than Java 8, this
# tests detect the usage.
echo "SUREFIRE_JVM_OPT: ${SUREFIRE_JVM_OPT}"
mvn test -B -V \
mvn test -B -V -Dtest=RetryOnInvalidatedSessionTest -Dsurefire.failIfNoSpecifiedTests=false \
-Dclirr.skip=true \
-Denforcer.skip=true \
-Djava.net.preferIPv4Stack=true \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1750,13 +1750,16 @@ private void asyncTransactionManager_readRowFunction(
TransactionContextFuture context = manager.beginAsync();
while (true) {
try {
System.out.println("Inside while");
AsyncTransactionStep<Void, Struct> row =
context.then((transaction, ignored) -> fn.apply(transaction), executor);
CommitTimestampFuture ts = row.commitAsync();
assertThrowsSessionNotFoundIfShouldFail(() -> get(ts));
break;
} catch (AbortedException e) {
context = manager.resetForRetryAsync();
} catch (Exception e) {
System.out.println("Got exception " + e.getMessage());
}
}
} finally {
Expand Down

0 comments on commit 4afff99

Please sign in to comment.