Skip to content

Commit 49013de

Browse files
e2e Tests: Session state flake (#8635)
It appears the python sleep finishes before the test checks that it's still running, so I just bumped the sleep time up a bit. ### QA Notes @:sessions @:web <!-- Positron team members: please add relevant e2e test tags, so the tests can be run when you open this pull request. - Instructions: https://github.com/posit-dev/positron/blob/main/test/e2e/README.md#pull-requests-and-test-tags - Available tags: https://github.com/posit-dev/positron/blob/main/test/e2e/infra/test-runner/test-tags.ts --> <!-- Add additional information for QA on how to validate the change, paying special attention to the level of risk, adjacent areas that could be affected by the change, and any important contextual information not present in the linked issues. -->
1 parent 593afed commit 49013de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/tests/sessions/session-state.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ test.describe('Sessions: State', {
8282
// Verify Python session transitions to active when executing code
8383
await sessions.select(pySession.name);
8484
await console.executeCode('Python', 'import time');
85-
await console.executeCode('Python', 'time.sleep(7)', { waitForReady: false, maximizeConsole: false });
85+
await console.executeCode('Python', 'time.sleep(10)', { waitForReady: false, maximizeConsole: false });
8686
await sessions.expectStatusToBe(pySession.name, 'active');
8787

8888
// Verify R session transitions to active when executing code

0 commit comments

Comments
 (0)