We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d550077 commit 283375cCopy full SHA for 283375c
changelog.d/995.misc
@@ -0,0 +1 @@
1
+Retry e2e tests in CI due to container creation flakiness.
jest.config.ts
@@ -9,6 +9,7 @@ const config: Config = {
9
// The root directory that Jest should scan for tests and modules within
10
rootDir: "spec-lib",
11
testTimeout: 60000,
12
+ setupFiles: ["<rootDir>/spec/setup-jest.js"],
13
};
14
15
export default config;
spec/setup-jest.ts
@@ -0,0 +1,2 @@
+// In CI, the network creation for the homerunner containers can race (https://github.com/matrix-org/complement/issues/720).
2
+jest.retryTimes(process.env.CI ? 3 : 1);
0 commit comments