requested changes

This commit is contained in:
Daniel Hougaard
2025-08-06 03:39:08 +04:00
parent d7f3892b73
commit 5c63955fde
3 changed files with 10 additions and 3 deletions
@@ -434,6 +434,13 @@ describe("Secret Rotations", async () => {
attempts += 1;
await new Promise((resolve) => setTimeout(resolve, 2_500));
}
if (attempts >= 60) {
throw new Error("Secret rotation failed to rotate after 60 attempts");
}
const finalSecretValue = await getSecretValue(secretMapping.password);
expect(finalSecretValue).not.toBe(startSecretValue);
},
{
timeout: 300_000