Skip to content

Commit e78322f

Browse files
committed
Fix an issue with the test
1 parent 13065ad commit e78322f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/grpc-js/test/test-weighted-round-robin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ describe('Weighted round robin LB policy', () => {
297297
await asyncTimeout(400);
298298
const result2 = await makeNCalls(client, 40);
299299
assert(Math.abs(result2['1'] - 30) < 2, `result2: server1: ${result2['1']}, server2: ${result2['2']}`);
300-
}).timeout(3000);
300+
})
301301
// Calls aren't fast enough for this to work consistently
302302
it.skip('Should wait for the weight update period to apply weights', async () => {
303303
const serviceConfig = createServiceConfig({
@@ -316,7 +316,7 @@ describe('Weighted round robin LB policy', () => {
316316
await asyncTimeout(400);
317317
const result2 = await makeNCalls(client, 40);
318318
assert(Math.abs(result2['1'] - 30) < 2, `result2: server1: ${result2['1']}, server2: ${result2['2']}`);
319-
}).timeout(3000);
319+
})
320320
it('Should send more requests to endpoints with lower EPS', async () => {
321321
const serviceConfig = createServiceConfig({
322322
blackout_period: '0.01s',

0 commit comments

Comments
 (0)