Merge pull request #2275 from murgatroid99/grpc-js-xds_interop_time_correction_fix

grpc-js-xds: interop: Fix timestamp handling when config changes
This commit is contained in:
Michael Lumish 2022-11-14 11:10:47 -08:00 committed by GitHub
commit 6c0223da93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ function makeSingleRequest(client: TestServiceClient, type: CallType, failOnFail
function sendConstantQps(client: TestServiceClient, qps: number, failOnFailedRpcs: boolean, callStatsTracker: CallStatsTracker) {
const callStartTimestampsTrackers: {[callType: string]: RecentTimestampList} = {};
for (const callType of currentConfig.callTypes) {
for (const callType of ['EmptyCall', 'UnaryCall']) {
callStartTimestampsTrackers[callType] = new RecentTimestampList(qps);
}
setInterval(() => {