这是indexloc提供的服务,不要输入任何密码
Skip to content

Flaky test on the CI #145

@Angelmmiguel

Description

@Angelmmiguel

Describe the bug

Recently, I added several end-to-end tests to ensure everything works fine on different platforms (Linux, MacOS and Windows). The tests already detected some issues when updating dependencies, so they are really useful.

However, the current e2e tests may fail due to race conditions. Certain examples like Ruby or Python requires more time to load the runtime before it's ready to run.

This is currently happening in some PRs when running the MacOS tests.

Reproduction steps

  1. Run the e2e tests with a low timeout:
E2E_WAITING_TIME=1 cargo test --test e2e -- --show-output
  1. Get an error in some tests due to the server not being ready

Expected behavior

The CI works consistently and it doesn't fail due to race conditions.

Additional context

No response

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions