-
Notifications
You must be signed in to change notification settings - Fork 27
Error running E2E tests with MySQL: Test server is not running on localhost:3001 #580
Copy link
Copy link
Closed
Labels
BugIncorrect BehaviorIncorrect BehaviorContinuous IntegrationWorkflows and AutomationWorkflows and Automation
Milestone
Description
Sometimes, we get the error "Test server is not running on localhost:3001" when running the E2E test on the GitHub runner.
I have also got the error running them locally with:
./contrib/dev-tools/container/e2e/mysql/run-e2e-tests.sh
However, less frequently than in the runner.
The error is not deterministic. When you rerun the tests, it works. I guess it must be a timeout, or we don't wait enough for the server to be ready to accept requests.
Usually, some tests fail, and some don't.
Error example:
---- e2e::web::api::v1::contexts::category::contract::it_should_not_allow_non_admins_to_delete_categories stdout ----
thread 'e2e::web::api::v1::contexts::category::contract::it_should_not_allow_non_admins_to_delete_categories' panicked at tests/environments/shared.rs:20:9:
Test server is not running on localhost:3001
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugIncorrect BehaviorIncorrect BehaviorContinuous IntegrationWorkflows and AutomationWorkflows and Automation
Type
Projects
Status
Done