Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update E2E sleep threshold to 100ms to prevent ERR_CONNECTION_REFUSED (#74)

Leendert de Borstd57ac9e743aa
diff --git a/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationApiFactoryFixture.cs b/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationApiFactoryFixture.cs
index a26c9cf06..dfc9e25d6 100644
--- a/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationApiFactoryFixture.cs
+++ b/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationApiFactoryFixture.cs
@@ -114,7 +114,7 @@ public class WebApplicationApiFactoryFixture<TEntryPoint> : WebApplicationFactor
// This delay prevents "ERR_CONNECTION_REFUSED" errors
// which happened like 1 out of 10 times when running tests.
- Thread.Sleep(50);
+ Thread.Sleep(100);
return dummyHost;
}
diff --git a/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationWasmFactoryFixture.cs b/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationWasmFactoryFixture.cs
index 10f271c29..a19037b87 100644
--- a/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationWasmFactoryFixture.cs
+++ b/src/Tests/AliasVault.E2ETests/Infrastructure/WebApplicationWasmFactoryFixture.cs
@@ -41,7 +41,7 @@ public class WebApplicationWasmFactoryFixture<TEntryPoint> : WebApplicationFacto
// This delay prevents "ERR_CONNECTION_REFUSED" errors
// which happened like 1 out of 10 times when running tests.
- Thread.Sleep(50);
+ Thread.Sleep(100);
return dummyHost;
}