mirror of https://github.com/grpc/grpc-node.git
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:
commit
6c0223da93
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue