-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugUnwanted / harmful behaviorUnwanted / harmful behavior
Description
The following tests fail with an unexpected TimeoutException with Exasol 2025.1.3:
@Test
void testUploadFileToIllegalUrlThrowsException(@TempDir final Path tempDir) throws IOException {
final Path file = createTestFile(tempDir, "irrelevant.txt", 1);
assertThrows(BucketAccessException.class,
() -> container.getDefaultBucket().uploadFile(file, "this\\is\\an\\illegal\\URL"));
}
@Test
void testUploadContentToIllegalUrlThrowsException() {
assertThrows(BucketAccessException.class, () -> container.getDefaultBucket()
.uploadStringContent("irrelevant content", "this\\is\\an\\illegal\\URL"));
}See https://github.com/exasol/exasol-testcontainers/actions/runs/18876011525/job/53865879341?pr=279
Error: Tests run: 18, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 338.9 s <<< FAILURE! -- in com.exasol.bucketfs.testcontainers.BucketIT
Error: com.exasol.bucketfs.testcontainers.BucketIT.testUploadFileToIllegalUrlThrowsException(Path) -- Time elapsed: 121.5 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Unexpected exception type thrown, expected: <com.exasol.bucketfs.BucketAccessException> but was: <java.util.concurrent.TimeoutException>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:67)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3128)
at com.exasol.bucketfs.testcontainers.BucketIT.testUploadFileToIllegalUrlThrowsException(BucketIT.java:126)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.util.concurrent.TimeoutException: Timeout waiting for object 'this\is\an\illegal\URL' to be synchronized in bucket 'bfsdefault/default' after time 2025-10-28T13:26:17Z.
at com.exasol.bucketfs.SyncAwareBucket.waitForFileToBeSynchronized(SyncAwareBucket.java:135)
at com.exasol.bucketfs.SyncAwareBucket.uploadFile(SyncAwareBucket.java:57)
at com.exasol.bucketfs.testcontainers.BucketIT.lambda$testUploadFileToIllegalUrlThrowsException$6(BucketIT.java:127)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:53)
... 6 more
....
Error: Failures:
Error: BucketIT.testUploadContentToIllegalUrlThrowsException:132 Unexpected exception type thrown, expected: <com.exasol.bucketfs.BucketAccessException> but was: <java.util.concurrent.TimeoutException>
Error: BucketIT.testUploadFileToIllegalUrlThrowsException:126 Unexpected exception type thrown, expected: <com.exasol.bucketfs.BucketAccessException> but was: <java.util.concurrent.TimeoutException>
Metadata
Metadata
Assignees
Labels
bugUnwanted / harmful behaviorUnwanted / harmful behavior