@@ -2923,18 +2923,6 @@ public void testPartitionedDmlDoesNotTimeout() {
2923
2923
xGoogReqIdInterceptor .checkExpectedStreamingXGoogRequestIds (wantStreamingValues );
2924
2924
2925
2925
XGoogSpannerRequestIdTest .MethodAndRequestId [] wantUnaryValues = {
2926
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
2927
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
2928
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
2929
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
2930
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
2931
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
2932
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
2933
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
2934
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
2935
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
2936
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
2937
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
2938
2926
XGoogSpannerRequestIdTest .ofMethodAndRequestId (
2939
2927
"google.spanner.v1.Spanner/BeginTransaction" ,
2940
2928
new XGoogSpannerRequestId (NON_DETERMINISTIC , channelId , 7 , 1 )),
@@ -2945,7 +2933,7 @@ public void testPartitionedDmlDoesNotTimeout() {
2945
2933
"google.spanner.v1.Spanner/ExecuteSql" ,
2946
2934
new XGoogSpannerRequestId (NON_DETERMINISTIC , channelId , 8 , 1 )),
2947
2935
};
2948
- xGoogReqIdInterceptor .checkExpectedUnaryXGoogRequestIds (wantUnaryValues );
2936
+ xGoogReqIdInterceptor .checkExpectedUnaryXGoogRequestIdsAsSuffixes (wantUnaryValues );
2949
2937
}
2950
2938
}
2951
2939
@@ -3045,18 +3033,6 @@ public void testPartitionedDmlWithHigherTimeout() {
3045
3033
xGoogReqIdInterceptor .checkExpectedStreamingXGoogRequestIds (wantStreamingValues );
3046
3034
3047
3035
XGoogSpannerRequestIdTest .MethodAndRequestId [] wantUnaryValues = {
3048
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
3049
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
3050
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
3051
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
3052
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
3053
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
3054
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
3055
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
3056
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
3057
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
3058
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
3059
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
3060
3036
XGoogSpannerRequestIdTest .ofMethodAndRequestId (
3061
3037
"google.spanner.v1.Spanner/BeginTransaction" ,
3062
3038
new XGoogSpannerRequestId (NON_DETERMINISTIC , channelId , 7 , 1 )),
@@ -3067,7 +3043,7 @@ public void testPartitionedDmlWithHigherTimeout() {
3067
3043
"google.spanner.v1.Spanner/ExecuteSql" ,
3068
3044
new XGoogSpannerRequestId (NON_DETERMINISTIC , channelId , 8 , 1 )),
3069
3045
};
3070
- xGoogReqIdInterceptor .checkExpectedUnaryXGoogRequestIds (wantUnaryValues );
3046
+ xGoogReqIdInterceptor .checkExpectedUnaryXGoogRequestIdsAsSuffixes (wantUnaryValues );
3071
3047
}
3072
3048
}
3073
3049
@@ -5406,17 +5382,11 @@ public void testSessionPoolExhaustedError_containsStackTraces() {
5406
5382
long NON_DETERMINISTIC = XGoogSpannerRequestIdTest .NON_DETERMINISTIC ;
5407
5383
5408
5384
XGoogSpannerRequestIdTest .MethodAndRequestId [] wantUnaryValues = {
5409
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
5410
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
5411
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
5412
- XGoogSpannerRequestIdTest .ofMethodAndRequestId (
5413
- "google.spanner.v1.Spanner/BatchCreateSessions" ,
5414
- new XGoogSpannerRequestId (NON_DETERMINISTIC , NON_DETERMINISTIC , NON_DETERMINISTIC , 1 )),
5415
5385
XGoogSpannerRequestIdTest .ofMethodAndRequestId (
5416
5386
"google.spanner.v1.Spanner/CreateSession" ,
5417
5387
new XGoogSpannerRequestId (NON_DETERMINISTIC , 0 , 1 , 1 )),
5418
5388
};
5419
- xGoogReqIdInterceptor .checkExpectedUnaryXGoogRequestIds (wantUnaryValues );
5389
+ xGoogReqIdInterceptor .checkExpectedUnaryXGoogRequestIdsAsSuffixes (wantUnaryValues );
5420
5390
}
5421
5391
}
5422
5392
0 commit comments