提交 6236f65f 编写于 作者: S Sandeep Somavarapu

fix tests wait more than input time interval

上级 403be36a
......@@ -348,14 +348,14 @@ suite('UserDataSyncRequestsSession', () => {
test('requests are handled after session is expired', async () => {
const testObject = new RequestsSession(1, 100, requestService, NullTelemetryService);
await testObject.request({}, CancellationToken.None);
await timeout(100);
await timeout(150);
await testObject.request({}, CancellationToken.None);
});
test('too many requests are thrown after session is expired', async () => {
const testObject = new RequestsSession(1, 100, requestService, NullTelemetryService);
await testObject.request({}, CancellationToken.None);
await timeout(100);
await timeout(150);
await testObject.request({}, CancellationToken.None);
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册