Skip to content

Commit bd0afb8

Browse files
chore: generate libraries at Mon Sep 22 15:44:33 UTC 2025
1 parent a7b0f87 commit bd0afb8

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

google-cloud-spanner/src/test/java/com/google/cloud/spanner/connection/ConnectionAsyncApiTest.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@ private void testExecuteQuery(Function<Connection, Void> connectionConfigurator)
539539
if (e.getErrorCode() == ErrorCode.FAILED_PRECONDITION
540540
&& e.getMessage()
541541
.contains(
542-
"This transaction has been invalidated by a later transaction in the same session")) {
542+
"This transaction has been invalidated by a later transaction in the same"
543+
+ " session")) {
543544
// Ignore for regular sessions.
544545
assertFalse(isMultiplexedSessionsEnabledForRW(connection.getSpanner()));
545546
} else {
@@ -589,7 +590,8 @@ private void testExecuteUpdateAsync(
589590
if (e.getErrorCode() == ErrorCode.FAILED_PRECONDITION
590591
&& e.getMessage()
591592
.contains(
592-
"This transaction has been invalidated by a later transaction in the same session")) {
593+
"This transaction has been invalidated by a later transaction in the same"
594+
+ " session")) {
593595
// Ignore for regular sessions.
594596
assertFalse(isMultiplexedSessionsEnabledForRW(connection.getSpanner()));
595597
} else {
@@ -631,7 +633,8 @@ private void testExecuteUpdate(Function<Connection, Void> connectionConfigurator
631633
if (e.getErrorCode() == ErrorCode.FAILED_PRECONDITION
632634
&& e.getMessage()
633635
.contains(
634-
"This transaction has been invalidated by a later transaction in the same session")) {
636+
"This transaction has been invalidated by a later transaction in the same"
637+
+ " session")) {
635638
// Ignore for regular sessions.
636639
assertFalse(isMultiplexedSessionsEnabledForRW(connection.getSpanner()));
637640
} else {
@@ -675,7 +678,8 @@ private void testExecuteBatchUpdateAsync(Function<Connection, Void> connectionCo
675678
if (e.getErrorCode() == ErrorCode.FAILED_PRECONDITION
676679
&& e.getMessage()
677680
.contains(
678-
"This transaction has been invalidated by a later transaction in the same session")) {
681+
"This transaction has been invalidated by a later transaction in the same"
682+
+ " session")) {
679683
// Ignore for regular sessions.
680684
assertFalse(isMultiplexedSessionsEnabledForRW(connection.getSpanner()));
681685
} else {
@@ -718,7 +722,8 @@ private void testExecuteBatchUpdate(Function<Connection, Void> connectionConfigu
718722
if (e.getErrorCode() == ErrorCode.FAILED_PRECONDITION
719723
&& e.getMessage()
720724
.contains(
721-
"This transaction has been invalidated by a later transaction in the same session")) {
725+
"This transaction has been invalidated by a later transaction in the same"
726+
+ " session")) {
722727
// Ignore for regular sessions.
723728
assertFalse(isMultiplexedSessionsEnabledForRW(connection.getSpanner()));
724729
} else {

0 commit comments

Comments
 (0)