JetBrains / Exposed

Kotlin SQL Framework
http://jetbrains.github.io/Exposed/
Apache License 2.0
8.05k stars 674 forks source link

test: EXPOSED-191 Flaky Oracle test on TC build #2098

Closed obabichevjb closed 4 weeks ago

obabichevjb commented 1 month ago

I added some logging to try to get more information about the flaky test.

My current expectation is that it's related to the common tables that are reused across multiple tests. If the test framework can run multiple tests in parallel, these tests can interfere in moments of commiting transactions.

The particular test mentioned in the issue fails at the moment of commit() call. Internally, it tries to make batchInsert() and fails with the ArrayIndexOutOfBoundsException exception (exception itself raised inside the oracle driver)