Skip to content

Commit fc0ac81

Browse files
committed
fix compilation failure in tests
1 parent 75b3b50 commit fc0ac81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/cryptomator/cryptofs/CryptoFileChannelWriteReadIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ public void afterAll() throws IOException {
178178
@DisplayName("Opening a file channel creates an in-use file and removes it on close")
179179
public void testOpeningFCCreatesInUseFile() throws IOException {
180180
try (var writer = FileChannel.open(file, CREATE, WRITE)) {
181-
Awaitility.await().atLeast(Constants.INUSE_DELAY_MILLIS - 100, TimeUnit.MILLISECONDS) //
182-
.atMost(Constants.INUSE_DELAY_MILLIS + 3000, TimeUnit.MILLISECONDS) //
181+
Awaitility.await().atLeast( 4900, TimeUnit.MILLISECONDS) //
182+
.atMost(8000, TimeUnit.MILLISECONDS) //
183183
.until(() -> numberOfInUseFiles() == 1);
184184
}
185185
var numberAfterClose = numberOfInUseFiles();

0 commit comments

Comments
 (0)