Skip to content

Avoid namespace collisions when running in parallel

Sofia Vistas requested to merge namespace-for-e2e-parallel into master

What does this MR do and why?

This MR is part of a series of changes that need to be in place to enable the parallelization of tests. There are issues with concurrency due to some test and framework design that when run in parallel increase the retry rate of the tests (the tests don't run in parallel when retried). The MR focuses on namespace collision for sandboxes, which can randomly happen when two processes attempt to create the same sandbox simultaneously.

This is only enabled for ephemeral test-on-omnibus environments due to the sandbox limitations we have in live environments.

Before (parallel enabled without the fix)

https://gitlab.com/-/project/278964/uploads/c0dfbffe0368c313d02d3a82b1825d9a/Screenshot_2024-09-17_at_16.16.34.png

After (parallel enabled with this fix)

Screenshot 2024-10-03 at 10.34.28.png

️ The parallelization is enabled only to test in the pipeline, before merging it needs to be switched to false.

Merge request reports

Loading