Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 7cf423c

Browse files
authored
test: upgrade grpc test fixture to 1.22.2 (#1071)
1 parent 8bdd946 commit 7cf423c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/fixtures/plugin-fixtures.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
"google-gax": "^0.16.0"
3030
}
3131
},
32-
"grpc1.20": {
32+
"grpc1.22": {
3333
"dependencies": {
34-
"grpc": "^1.20.2"
34+
"grpc": "^1.22.2"
3535
}
3636
},
3737
"hapi-plugin-mysql3": {

test/plugins/test-trace-grpc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ describeInterop('grpc', fixture => {
379379
};
380380
var clientTrace = assertTraceProperties(grpcClientPredicate);
381381
assert.strictEqual(clientTrace.labels.status,
382-
'{"code":0,"details":"OK","metadata":{"_internal_repr":{}}}');
382+
'{"code":0,"details":"OK","metadata":{"_internal_repr":{},"flags":0}}');
383383
assertTraceProperties(grpcServerOuterPredicate);
384384
// Check that a child span was created in gRPC root span
385385
assert(common.getMatchingSpan(grpcServerInnerPredicate));
@@ -402,7 +402,7 @@ describeInterop('grpc', fixture => {
402402
};
403403
var clientTrace = assertTraceProperties(grpcClientPredicate);
404404
assert.strictEqual(clientTrace.labels.status,
405-
'{"code":0,"details":"OK","metadata":{"_internal_repr":{}}}');
405+
'{"code":0,"details":"OK","metadata":{"_internal_repr":{},"flags":0}}');
406406
assertTraceProperties(grpcServerOuterPredicate);
407407
// Check that a child span was created in gRPC root span
408408
assert(common.getMatchingSpan(grpcServerInnerPredicate));

0 commit comments

Comments
 (0)