Skip to content

Commit 6c0223d

Browse files
authored
Merge pull request #2275 from murgatroid99/grpc-js-xds_interop_time_correction_fix
grpc-js-xds: interop: Fix timestamp handling when config changes
2 parents e066a5a + f8f95ee commit 6c0223d

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)