prestodb / presto

The official home of the Presto distributed SQL query engine for big data
http://prestodb.io
Apache License 2.0
16.06k stars 5.38k forks source link

TestIcebergRegisterAndUnregisterProcedure.testUnregisterTable() is flaky #23654

Closed hantangwangd closed 2 months ago

hantangwangd commented 2 months ago

Example failure: https://github.com/prestodb/presto/actions/runs/10862285429/job/30145155157?pr=23645

[ERROR] Tests run: 3199, Failures: 1, Errors: 0, Skipped: 34, Time elapsed: 1,874.556 s <<< FAILURE! - in TestSuite
[ERROR] com.facebook.presto.iceberg.procedure.TestIcebergRegisterAndUnregisterProcedure.testUnregisterTable  Time elapsed: 0.013 s  <<< FAILURE!
java.lang.AssertionError: expected [false] but found [true]
    at org.testng.Assert.fail(Assert.java:110)
    at org.testng.Assert.failNotEquals(Assert.java:1413)
    at org.testng.Assert.assertFalse(Assert.java:78)
    at org.testng.Assert.assertFalse(Assert.java:88)
    at com.facebook.presto.iceberg.procedure.TestIcebergRegisterAndUnregisterProcedure.testUnregisterTable(TestIcebergRegisterAndUnregisterProcedure.java:400)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135)
    at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:673)
    at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:220)
    at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
    at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:945)
    at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:193)
    at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
    at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:750)