@@ -533,7 +533,7 @@ public void testPartitionedDml() {
533533 XGoogSpannerRequestId .of (getClientId (), -1 , 1 , 1 ),
534534 XGoogSpannerRequestId .of (getClientId (), -1 , 2 , 1 )),
535535 actual );
536- // Channel ID is determined by grpc-gcp, so we don't verify same channel ID here.
536+ verifySameChannelId ( actual );
537537 }
538538
539539 @ Test
@@ -559,7 +559,7 @@ public void testPartitionedDmlError() {
559559 XGoogSpannerRequestId .of (getClientId (), -1 , 1 , 1 ),
560560 XGoogSpannerRequestId .of (getClientId (), -1 , 2 , 1 )),
561561 actual );
562- // Channel ID is determined by grpc-gcp, so we don't verify same channel ID here.
562+ verifySameChannelId ( actual );
563563 assertEquals (XGoogSpannerRequestId .of (exception .getRequestId ()), actual .get (1 ));
564564 }
565565
@@ -586,7 +586,7 @@ public void testPartitionedDmlAborted() {
586586 XGoogSpannerRequestId .of (getClientId (), -1 , 3 , 1 ),
587587 XGoogSpannerRequestId .of (getClientId (), -1 , 4 , 1 )),
588588 actual );
589- // Channel ID is determined by grpc-gcp, so we don't verify same channel ID here.
589+ verifySameChannelId ( actual );
590590 }
591591
592592 @ Test
@@ -612,7 +612,7 @@ public void testPartitionedDmlUnavailable() {
612612 XGoogSpannerRequestId .of (getClientId (), -1 , 3 , 1 ),
613613 XGoogSpannerRequestId .of (getClientId (), -1 , 4 , 1 )),
614614 actual );
615- // Channel ID is determined by grpc-gcp, so we don't verify same channel ID here.
615+ verifySameChannelId ( actual );
616616 }
617617
618618 @ Test
@@ -648,7 +648,7 @@ public void testPartitionedDmlUnavailableWithResumeToken() {
648648 XGoogSpannerRequestId .of (getClientId (), -1 , 2 , 1 ),
649649 XGoogSpannerRequestId .of (getClientId (), -1 , 2 , 2 )),
650650 actual );
651- // Channel ID is determined by grpc-gcp, so we don't verify same channel ID here.
651+ verifySameChannelId ( actual );
652652 }
653653
654654 @ Test
0 commit comments