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.
2 parents e21f4bb + 0362003 commit 847f24dCopy full SHA for 847f24d
src/test/java/io/supertokens/storage/postgresql/test/DbConnectionPoolTest.java
@@ -287,6 +287,16 @@ public void testMinimumIdleConnectionForTenants() throws Exception {
287
288
Thread.sleep(1000); // let the new tenant be ready
289
290
+ for (int retry = 0; retry < 5; retry++) {
291
+ try {
292
+ assertEquals(10, start.getDbActivityCount("st1"));
293
+ break;
294
+ } catch (AssertionError e) {
295
+ Thread.sleep(1000);
296
+ continue;
297
+ }
298
299
+
300
assertEquals(10, start.getDbActivityCount("st1"));
301
302
// change connection pool size
0 commit comments