You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2023/11/09 02:26:45 UTC
(james-project) 03/03: [Build] Increase delay to 1s instead of 500ms in CachedBlobStoreTest
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 <rc...@linagora.com>
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: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org