Skip to content

Commit

Permalink
test: increase timeout for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Nov 24, 2023
1 parent 0aa9dca commit cea1893
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/suite-policies/policies.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ suite(`Policies - Remote: ${process.env.ROOT_PATH}`, function () {

await workspace.getConfiguration('monokle').update('enabled', true, ConfigurationTarget.Workspace);

const configRemote = await waitForValidationConfig(folder, 10000);
const configRemote = await waitForValidationConfig(folder, 15000);

ok(configRemote.isValid);
ok(configRemote.path);
Expand All @@ -63,10 +63,10 @@ suite(`Policies - Remote: ${process.env.ROOT_PATH}`, function () {

await commands.executeCommand(COMMANDS.SYNCHRONIZE);

const configNew = await waitForValidationConfig(folder, 10000);
const configNew = await waitForValidationConfig(folder, 15000);

deepEqual(configNew.config, DEFAULT_POLICY);
}).timeout(25000);
}).timeout(35000);
});

async function waitForValidationConfig(workspaceFolder: Folder, timeoutMs?: number): Promise<WorkspaceFolderConfig> {
Expand Down

0 comments on commit cea1893

Please sign in to comment.