exasol/virtual-schema-common-document-files

Adapt shared integration tests to bugfix in Exasol

Closed this issue · 0 comments

Shared integration test refreshVirtualSchemaReadsIgnoresNonSchemaChanges() verifies bug https://exasol.my.site.com/s/article/Changelog-content-20991 in Exasol. Exasol DB 7.1.29 fixes this bug, so the test starts to fail. Once the bug is also fixed in Exasol v8, we need to adapt the test, so that it works again with both versions 7.1 and 8.

Example failure:

https://github.com/exasol/azure-blob-storage-document-files-virtual-schema/actions/runs/10157083530/job/28086578191?pr=62

Error:  com.exasol.adapter.document.files.AbsDocumentFilesAdapterIT.refreshVirtualSchemaReadsIgnoresNonSchemaChanges -- Time elapsed: 20.20 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected java.lang.IllegalStateException to be thrown, but nothing was thrown.
	at com.exasol.adapter.document.files.AbstractDocumentFilesAdapterIT.refreshVirtualSchemaReadsIgnoresNonSchemaChanges(AbstractDocumentFilesAdapterIT.java:941)
	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)