I recently updated e2e tests and the RC pipeline keeps timing out on the playwright-task task. Upon running the pipeline locally, I faced a similar issue a few times, and increasing the timeout fixed it. I believe the issue is related to limited resources/bandwidth.
Each test has a timeout of 60 seconds and we have 80 test at the moment. I've chosen a 2h timeout based on the rule:
task_timeout > max_playwright_timeout_all_tests + buffer (for browser installation and such)
How can this be tested?
Navigate to your local ocw-studio directory.
Checkout the branch hussaintaj/increase-e2e-test-timeout.
Start/Restart Studio.
Run
docker compose exec web ./manage.py upsert_e2e_test_pipeline
Open your concourse and trigger a build.
Expect the pipeline to finish without a timeout.
We're not looking for the tests to pass. We just want to make sure it doesn't timeout. You will need to have the ci courses in your git backend.
What are the relevant tickets?
Relates to https://github.com/mitodl/ocw-studio/pull/2125
Description (What does it do?)
I recently updated e2e tests and the RC pipeline keeps timing out on the
playwright-task
task. Upon running the pipeline locally, I faced a similar issue a few times, and increasing the timeout fixed it. I believe the issue is related to limited resources/bandwidth.Each test has a timeout of 60 seconds and we have 80 test at the moment. I've chosen a 2h timeout based on the rule:
How can this be tested?
ocw-studio
directory.hussaintaj/increase-e2e-test-timeout
.