Skip to content

Commit 4a0443e

Browse files
authored
testing(bigquery): remove header check enforcement for secondary APIs (googleapis#13381)
Changes to underlying structure of the dial pattern have complicated testing slightly. This PR removes header check enforcement from the secondary APIs BQ integration testing uses, as they're not really evaluating the client under test. Fixes: googleapis#13373
1 parent ff2cdac commit 4a0443e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bigquery/integration_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,6 @@ func initIntegrationTest() func() {
206206
// We can't check universally because option.WithHTTPClient is
207207
// incompatible with gRPC options.
208208
bqOpts = append(bqOpts, grpcHeadersChecker.CallOptions()...)
209-
sOpts = append(sOpts, grpcHeadersChecker.CallOptions()...)
210-
ptmOpts = append(ptmOpts, grpcHeadersChecker.CallOptions()...)
211-
connOpts = append(connOpts, grpcHeadersChecker.CallOptions()...)
212209
}
213210
var err error
214211
client, err = NewClient(ctx, projID, bqOpts...)

0 commit comments

Comments
 (0)