Skip to content

Commit f8f95ee

Browse files
committed
grpc-js-xds: interop: Fix timestamp handling when config changes
1 parent e066a5a commit f8f95ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js-xds/interop/xds-interop-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ function makeSingleRequest(client: TestServiceClient, type: CallType, failOnFail
345345

346346
function sendConstantQps(client: TestServiceClient, qps: number, failOnFailedRpcs: boolean, callStatsTracker: CallStatsTracker) {
347347
const callStartTimestampsTrackers: {[callType: string]: RecentTimestampList} = {};
348-
for (const callType of currentConfig.callTypes) {
348+
for (const callType of ['EmptyCall', 'UnaryCall']) {
349349
callStartTimestampsTrackers[callType] = new RecentTimestampList(qps);
350350
}
351351
setInterval(() => {

0 commit comments

Comments
 (0)