[COMPASS-6269] Investigate connection import / export e2e test failures on windows Created: 01/Nov/22  Updated: 16/Jan/24  Resolved: 15/Jan/24

Status: Closed
Project: Compass
Component/s: Connection Import/Export, Testing
Affects Version/s: None
Fix Version/s: No version

Type: Build Failure Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Le Roux Bodenstein
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to COMPASS-6073 Implement connection export via CLI Closed
related to COMPASS-6074 Implement connection import via CLI Closed
Documentation Changes: Not Needed
Sprint: Iteration Ankylosaurus, Iteration Edmontonia, Iteration Lambeosaurus, Iteration Minmi, Iteration Nodosaurus, Iteration Scutellosaurus

 Description   

Tests are not failing constantly, but are very flaky and usually fail with an error

[2022/11/01 01:30:32.994]   1) Connection Import / Export
[2022/11/01 01:30:32.994]        can export and import connections through the CLI, encrypted:
[2022/11/01 01:30:32.994]       AssertionError: expected 'mongodb://foo@host:1234/' to equal 'mongodb://foo:bar@host:1234/'
[2022/11/01 01:30:32.994]       + expected - actual
[2022/11/01 01:30:32.994]       -mongodb://foo@host:1234/
[2022/11/01 01:30:32.994]       +mongodb://foo:bar@host:1234/
[2022/11/01 01:30:32.994]       at Context.<anonymous> (tests\import-export-connections.test.ts:145:14)
[2022/11/01 01:30:32.994]       at runMicrotasks (<anonymous>)
[2022/11/01 01:30:32.994]       at processTicksAndRejections (node:internal/process/task_queues:96:5)

We disabled them, but should investigate what's going on there and enable the tests back if possible


Generated at Wed Feb 07 22:42:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.