Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: resolved test failing due to timeout

=1642fb42d8d3
diff --git a/backend/e2e-test/routes/v1/secret-replication.spec.ts b/backend/e2e-test/routes/v1/secret-replication.spec.ts
index f762165a22..b56a8f9a04 100644
--- a/backend/e2e-test/routes/v1/secret-replication.spec.ts
+++ b/backend/e2e-test/routes/v1/secret-replication.spec.ts
@@ -118,9 +118,9 @@ describe.each([{ secretPath: "/" }, { secretPath: "/deep" }])(
value: "stage-value"
});
- // wait for 5 second for replication to finish
+ // wait for 10 second for replication to finish
await new Promise((resolve) => {
- setTimeout(resolve, 5000); // time to breathe for db
+ setTimeout(resolve, 10000); // time to breathe for db
});
const secret = await getSecretByNameV2({
@@ -173,9 +173,9 @@ describe.each([{ secretPath: "/" }, { secretPath: "/deep" }])(
value: "prod-value"
});
- // wait for 5 second for replication to finish
+ // wait for 10 second for replication to finish
await new Promise((resolve) => {
- setTimeout(resolve, 5000); // time to breathe for db
+ setTimeout(resolve, 10000); // time to breathe for db
});
const secret = await getSecretByNameV2({
@@ -343,9 +343,9 @@ describe.each([{ path: "/" }, { path: "/deep" }])(
value: "prod-value"
});
- // wait for 5 second for replication to finish
+ // wait for 10 second for replication to finish
await new Promise((resolve) => {
- setTimeout(resolve, 5000); // time to breathe for db
+ setTimeout(resolve, 10000); // time to breathe for db
});
const secret = await getSecretByNameV2({