mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
grpc-js-xds: interop: Fix timestamp handling when config changes
This commit is contained in:
parent
e066a5a97b
commit
f8f95ee9bb
@ -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…
x
Reference in New Issue
Block a user