You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by st...@apache.org on 2024/11/05 15:17:29 UTC
(jackrabbit-oak) 01/01: OAK-11250: increase timeout to reduce flakyness
This is an automated email from the ASF dual-hosted git repository.
stefanegli pushed a commit to branch OAK-11250
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit 24deea7f06c3cabee9df1f1e8f5559503dce5b34
Author: stefan-egli <st...@apache.org>
AuthorDate: Tue Nov 5 16:17:23 2024 +0100
OAK-11250: increase timeout to reduce flakyness
---
.../jackrabbit/oak/plugins/document/rdb/RDBConnectionHandlerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBConnectionHandlerTest.java b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBConnectionHandlerTest.java
index fdd566da2a..44bbc521ef 100644
--- a/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBConnectionHandlerTest.java
+++ b/oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBConnectionHandlerTest.java
@@ -45,7 +45,7 @@ public class RDBConnectionHandlerTest {
c1 = ch.getROConnection();
assertTrue("There should be no log message yet, but got: " + customLogs.getLogs(), customLogs.getLogs().isEmpty());
long ts2 = System.currentTimeMillis();
- assertTrue("unexpected elapsed time between two fetches of connections: " + (ts2 - ts1), ts2 - ts1 <= 20);
+ assertTrue("unexpected elapsed time between two fetches of connections: " + (ts2 - ts1), ts2 - ts1 <= 100);
c2 = ch.getROConnection();
// age threshold not reached
assertTrue("There should be no log message yet, but got: " + customLogs.getLogs(), customLogs.getLogs().isEmpty());