This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit a1bea0d06e85ff0f34714ed2c5e2778c4f4ae8d9
Author: Rene Cordier <[email protected]>
AuthorDate: Wed Nov 8 13:44:12 2023 +0700

    [Build] Increase delay to 1s instead of 500ms in CachedBlobStoreTest
---
 .../org/apache/james/blob/cassandra/cache/CachedBlobStoreTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/server/blob/blob-cassandra/src/test/java/org/apache/james/blob/cassandra/cache/CachedBlobStoreTest.java
 
b/server/blob/blob-cassandra/src/test/java/org/apache/james/blob/cassandra/cache/CachedBlobStoreTest.java
index d4ced32241..31f70a7cf7 100644
--- 
a/server/blob/blob-cassandra/src/test/java/org/apache/james/blob/cassandra/cache/CachedBlobStoreTest.java
+++ 
b/server/blob/blob-cassandra/src/test/java/org/apache/james/blob/cassandra/cache/CachedBlobStoreTest.java
@@ -544,7 +544,7 @@ public class CachedBlobStoreTest implements 
BlobStoreContract {
         void readBytesShouldRecordDistinctTimingsWhenRepeatAndBackendRead() {
             BlobId blobId = Mono.from(testee.save(DEFAULT_BUCKETNAME, 
ELEVEN_KILOBYTES, SIZE_BASED)).block();
 
-            Duration delay = Duration.ofMillis(500);
+            Duration delay = Duration.ofMillis(1000);
             Mono.from(testee.readBytes(DEFAULT_BUCKETNAME, blobId, 
HIGH_PERFORMANCE))
                 .then(Mono.delay(delay))
                 .repeat(2)
@@ -559,7 +559,7 @@ public class CachedBlobStoreTest implements 
BlobStoreContract {
         void readBytesShouldRecordDistinctTimingsWhenRepeat() {
             BlobId blobId = Mono.from(testee.save(DEFAULT_BUCKETNAME, 
APPROXIMATELY_FIVE_KILOBYTES, SIZE_BASED)).block();
 
-            Duration delay = Duration.ofMillis(500);
+            Duration delay = Duration.ofMillis(1000);
             Mono.from(testee.readBytes(DEFAULT_BUCKETNAME, blobId, 
HIGH_PERFORMANCE))
                 .then(Mono.delay(delay))
                 .repeat(2)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to