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 fo...@apache.org on 2023/02/21 11:06:50 UTC
[jackrabbit-oak] branch trunk updated: Fix AzureJournalFileTest failing on slow Jenkins (#854)
This is an automated email from the ASF dual-hosted git repository.
fortino pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new c4cb523278 Fix AzureJournalFileTest failing on slow Jenkins (#854)
c4cb523278 is described below
commit c4cb523278ca072a073ab1da3933afb6478ea682
Author: jelmini <85...@users.noreply.github.com>
AuthorDate: Tue Feb 21 12:06:44 2023 +0100
Fix AzureJournalFileTest failing on slow Jenkins (#854)
---
.../org/apache/jackrabbit/oak/segment/azure/AzureJournalFileTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/oak-segment-azure/src/test/java/org/apache/jackrabbit/oak/segment/azure/AzureJournalFileTest.java b/oak-segment-azure/src/test/java/org/apache/jackrabbit/oak/segment/azure/AzureJournalFileTest.java
index 43fe4d65de..3ab3e8b7a2 100644
--- a/oak-segment-azure/src/test/java/org/apache/jackrabbit/oak/segment/azure/AzureJournalFileTest.java
+++ b/oak-segment-azure/src/test/java/org/apache/jackrabbit/oak/segment/azure/AzureJournalFileTest.java
@@ -148,8 +148,8 @@ public class AzureJournalFileTest {
watchOptimizedImpl.stop();
long optimizedImplTime = watchOptimizedImpl.getTime();
long naiveImplTime = watchNaiveImpl.getTime();
- assertTrue("batchWriteLines() should be significantly faster (>20x) than the naive implementation, but took "
- + optimizedImplTime + "ms while naive implementation took " + naiveImplTime + "ms", optimizedImplTime < naiveImplTime / 20);
+ assertTrue("batchWriteLines() should be significantly faster (>10x) than the naive implementation, but took "
+ + optimizedImplTime + "ms while naive implementation took " + naiveImplTime + "ms", optimizedImplTime < naiveImplTime / 10);
}
@Test