Open
Description
The test was flaky so I added @Disabled
.
org.opentest4j.AssertionFailedError: Expected misk.jdbc.TableScanException to be thrown, but nothing was thrown.
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:71)
at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37)
at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:2952)
at misk.hibernate.MySqlScaleSafetyTest$tableScansDetected$1.invoke(MySqlScaleSafetyTest.kt:62)
at misk.hibernate.MySqlScaleSafetyTest$tableScansDetected$1.invoke(MySqlScaleSafetyTest.kt:17)
at misk.hibernate.RealTransacter$transactionInternalSession$1$1.invoke(RealTransacter.kt:229)
at misk.hibernate.RealTransacter$RealSession.target$misk_hibernate(RealTransacter.kt:493)
at misk.hibernate.RealTransacter$transactionInternalSession$1.invoke(RealTransacter.kt:224)
at misk.hibernate.RealTransacter$transactionInternalSession$1.invoke(RealTransacter.kt:37)
at misk.hibernate.RealTransacter.withSession(RealTransacter.kt:328)
at misk.hibernate.RealTransacter.withSession$default(RealTransacter.kt:310)
at misk.hibernate.RealTransacter.transactionInternalSession(RealTransacter.kt:223)
at misk.hibernate.RealTransacter.access$transactionInternalSession(RealTransacter.kt:37)
at misk.hibernate.RealTransacter$transaction$1$1$1.invoke(RealTransacter.kt:136)
at misk.hibernate.RealTransacter$maybeWithTracing$1.invoke(RealTransacter.kt:614)
at misk.hibernate.RealTransacter$maybeWithTracing$1.invoke(RealTransacter.kt:37)
at misk.tracing.TracerExtKt.traceWithSpan(TracerExt.kt:25)
at misk.tracing.TracerExtKt.traceWithSpan$default(TracerExt.kt:14)
at misk.hibernate.RealTransacter.maybeWithTracing(RealTransacter.kt:612)
at misk.hibernate.RealTransacter.access$maybeWithTracing(RealTransacter.kt:37)
at misk.hibernate.RealTransacter$transaction$1$1.invoke(RealTransacter.kt:136)
at misk.hibernate.RealTransacter.transactionWithRetriesInternal(RealTransacter.kt:178)
at misk.hibernate.RealTransacter.access$transactionWithRetriesInternal(RealTransacter.kt:37)
at misk.hibernate.RealTransacter$transaction$1.invoke(RealTransacter.kt:135)
at misk.hibernate.RealTransacter$maybeWithTracing$1.invoke(RealTransacter.kt:614)
at misk.hibernate.RealTransacter$maybeWithTracing$1.invoke(RealTransacter.kt:37)
at misk.tracing.TracerExtKt.traceWithSpan(TracerExt.kt:25)
at misk.tracing.TracerExtKt.traceWithSpan$default(TracerExt.kt:14)
at misk.hibernate.RealTransacter.maybeWithTracing(RealTransacter.kt:612)
at misk.hibernate.RealTransacter.transaction(RealTransacter.kt:134)
at misk.hibernate.MySqlScaleSafetyTest.tableScansDetected(MySqlScaleSafetyTest.kt:25)