Skip to content

Increase session launch timeout to 120s and use pytest.fail#33

Draft
ian-flores wants to merge 1 commit intomainfrom
fix-session-persist-test
Draft

Increase session launch timeout to 120s and use pytest.fail#33
ian-flores wants to merge 1 commit intomainfrom
fix-session-persist-test

Conversation

@ian-flores
Copy link
Collaborator

Summary

Fixes #24test_session_persists timed out after 60s waiting for a Workbench session to start. Cold starts on staging can exceed 60s.

Changes

  • Increased session launch timeout from 60s to 120s
  • Changed raise TimeoutError to pytest.fail for better test reporting

Files changed

  • tests/workbench/test_sessions.py

- Increased timeout from 60s to 120s in test_session_persists
- Changed raise TimeoutError to pytest.fail for better test output
- Cold starts on staging can exceed 60s
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://posit-dev.github.io/vip/pr-preview/pr-33/

Built to branch gh-pages at 2026-03-06 17:38 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_session_persists times out waiting for Workbench session launch

1 participant