-
Type:
Story
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Developer Tools
- Some e2e tests don't fully run locally. For instance, in https://github.com/mongodb-js/compass/blob/main/packages/compass-e2e-tests/tests/no-network-traffic.test.ts, the tests are largely skipped on non-linux because only linux has strace. Therefore it's essential we be able to run these tests on linux as needed.
- One option is to run evergreen patches from command line. This is insufficient when someone really has to investigate something because 1) the iteration time is quite slow as all the evergreen setup gets reproduced and 2) they don't have full freedom to do other things on the box (like run a side process to monitor HTTP, or manually bring up the electron outside the test env).
- The preferred option is to go to "spawn host" when looking at the evergreen run (see screenshot
).
- however that isn't working right now. It should work. but you need to figure out all the right evergreen commands to run, gather secrets and get it to work.
For this ticket, the deliverable is to
- Spawn an ubuntu host and successfully run the e2e tests from that host.
- Simplify our evergreen setup so that you can do this again, running just ONE setup command on the new host, like `source evergreen-stuff.sh`, and make sure this command automatically stays in sync with evergreen. i.e. refactor evergreen so it's easier to grab the stuff you need.
- Update our wiki with instrutions.
- is depended on by
-
COMPASS-8947 Compass' first run (ie. a fresh user directory) seems to violate --no-network-traffic
-
- Closed
-
- related to
-
COMPASS-8166 Compass' first run (ie. a fresh user directory) seems to violate --no-network-traffic
-
- In Progress
-