Skip to content

Commit 3ada5f4

Browse files
committed
chore(e2e): temporarily skip failing test
1 parent b62535d commit 3ada5f4

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

packages/compass-e2e-tests/tests/atlas-cloud/global-writes.test.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ async function waitForGlobalWritesStatus(
5353
.$(Selectors.GlobalWrites.tabStatus(nextStatus))
5454
.isDisplayed();
5555
},
56-
{ timeout: WEBDRIVER_TIMEOUT }
56+
{
57+
timeout: WEBDRIVER_TIMEOUT,
58+
// Sharding is slow process, no need to check too often, just makes the
59+
// logs hard to read
60+
interval: 2_000,
61+
}
5762
);
5863
}
5964

@@ -81,7 +86,9 @@ describe('Global writes', function () {
8186
await cleanup(compass);
8287
});
8388

84-
it('should be able to shard an unsharded namespace and also unmanage it', async function () {
89+
// TODO(COMPASS-8495): This test fails in CI, while we can't reproduce this
90+
// locally, it looks like a real issue that needs investigation
91+
it.skip('should be able to shard an unsharded namespace and also unmanage it', async function () {
8592
const collName = `global-writes-geospatial-${Date.now()}`;
8693

8794
await createGeospatialCollection(collName);

packages/compass-e2e-tests/tests/atlas-cloud/rolling-indexes.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,12 @@ describe('Rolling indexes', function () {
7474
await browser
7575
.$(Selectors.indexComponent(indexName))
7676
.$('[data-testid="index-ready"]')
77-
.waitForDisplayed({ timeout: extendedRollingIndexesTimeout });
77+
.waitForDisplayed({
78+
timeout: extendedRollingIndexesTimeout,
79+
// Building a rolling index is a slow process, no need to check too
80+
// often
81+
interval: 2_000,
82+
});
7883

7984
// Now that it's ready, delete it (it will also check that it's eventually
8085
// removed from the list)

0 commit comments

Comments
 (0)