@@ -539,7 +539,8 @@ private void testExecuteQuery(Function<Connection, Void> connectionConfigurator)
539
539
if (e .getErrorCode () == ErrorCode .FAILED_PRECONDITION
540
540
&& e .getMessage ()
541
541
.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" )) {
543
544
// Ignore for regular sessions.
544
545
assertFalse (isMultiplexedSessionsEnabledForRW (connection .getSpanner ()));
545
546
} else {
@@ -589,7 +590,8 @@ private void testExecuteUpdateAsync(
589
590
if (e .getErrorCode () == ErrorCode .FAILED_PRECONDITION
590
591
&& e .getMessage ()
591
592
.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" )) {
593
595
// Ignore for regular sessions.
594
596
assertFalse (isMultiplexedSessionsEnabledForRW (connection .getSpanner ()));
595
597
} else {
@@ -631,7 +633,8 @@ private void testExecuteUpdate(Function<Connection, Void> connectionConfigurator
631
633
if (e .getErrorCode () == ErrorCode .FAILED_PRECONDITION
632
634
&& e .getMessage ()
633
635
.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" )) {
635
638
// Ignore for regular sessions.
636
639
assertFalse (isMultiplexedSessionsEnabledForRW (connection .getSpanner ()));
637
640
} else {
@@ -675,7 +678,8 @@ private void testExecuteBatchUpdateAsync(Function<Connection, Void> connectionCo
675
678
if (e .getErrorCode () == ErrorCode .FAILED_PRECONDITION
676
679
&& e .getMessage ()
677
680
.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" )) {
679
683
// Ignore for regular sessions.
680
684
assertFalse (isMultiplexedSessionsEnabledForRW (connection .getSpanner ()));
681
685
} else {
@@ -718,7 +722,8 @@ private void testExecuteBatchUpdate(Function<Connection, Void> connectionConfigu
718
722
if (e .getErrorCode () == ErrorCode .FAILED_PRECONDITION
719
723
&& e .getMessage ()
720
724
.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" )) {
722
727
// Ignore for regular sessions.
723
728
assertFalse (isMultiplexedSessionsEnabledForRW (connection .getSpanner ()));
724
729
} else {
0 commit comments