fix: timeouts

This commit is contained in:
tomasz-io 2024-12-18 15:49:12 -08:00
parent 85e3fbc1c7
commit 0bf9169a96

View file

@ -25,7 +25,7 @@ describe("SSH", function () {
await TestUtils.waitForSuccess(
() => SSHSelectors.connectedToRemoteConfirmationMessage(),
DEFAULT_TIMEOUT.XL,
DEFAULT_TIMEOUT.MD,
);
await TestUtils.waitForSuccess(async () => {
@ -34,7 +34,7 @@ describe("SSH", function () {
await inputBox.setText("/home/ec2-user/test-folder/main.py");
await inputBox.selectQuickPick("main.py");
await inputBox.sendKeys(Key.ENTER);
}, DEFAULT_TIMEOUT.XL);
}, DEFAULT_TIMEOUT.MD);
const editor = await TestUtils.waitForSuccess(
async () => (await new EditorView().openEditor("main.py")) as TextEditor,
@ -44,7 +44,6 @@ describe("SSH", function () {
await editor.clearText();
await AutocompleteActions.testCompletions(editor);
await editor.setText(text);
})
.timeout(DEFAULT_TIMEOUT.XL)
.retries(2);
}).timeout(DEFAULT_TIMEOUT.XL);
// .retries(2);
});