@@ -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