Remove redundant overriding tests in Kudu#12952
Remove redundant overriding tests in Kudu#12952ebyhr merged 1 commit intotrinodb:masterfrom chen-ni:issue-11815-part-3
Conversation
plugin/trino-kudu/src/test/java/io/trino/plugin/kudu/AbstractKuduConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-kudu/src/test/java/io/trino/plugin/kudu/AbstractKuduConnectorTest.java
Outdated
Show resolved
Hide resolved
plugin/trino-kudu/src/test/java/io/trino/plugin/kudu/AbstractKuduConnectorTest.java
Outdated
Show resolved
Hide resolved
|
@ebyhr By the way, sometimes I got this error (2 out of the 6 Kudu connector tests in my most recent run) while executing java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: org.apache.kudu.client.NonRecoverableException: table presto::tpch.concur_table_54frruwm4s was deleted: Table deleted at 2022-06-24 01:49:33 UTC
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at io.trino.testing.BaseConnectorTest.testReadMetadataWithRelationsConcurrentModifications(BaseConnectorTest.java:1442)
at io.trino.testing.BaseConnectorTest.testReadMetadataWithRelationsConcurrentModifications(BaseConnectorTest.java:1381)
...
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.apache.kudu.client.NonRecoverableException: table presto::tpch.concur_table_54frruwm4s was deleted: Table deleted at 2022-06-24 01:49:33 UTC
at io.trino.testing.AbstractTestingTrinoClient.execute(AbstractTestingTrinoClient.java:122)
at io.trino.testing.DistributedQueryRunner.execute(DistributedQueryRunner.java:526)
at io.trino.testing.AbstractTestQueryFramework.computeActual(AbstractTestQueryFramework.java:217)
at io.trino.testing.AbstractTestQueryFramework.computeActual(
...
Suppressed: java.lang.Exception: SQL: SELECT * FROM system.jdbc.columns WHERE table_cat = CURRENT_CATALOG AND table_schem = CURRENT_SCHEMA
at io.trino.testing.DistributedQueryRunner.execute(DistributedQueryRunner.java:529)
... 11 more
Suppressed: java.lang.Exception: Task: Query(SELECT * FROM system.jdbc.columns WHERE table_cat = CURRENT_CATALOG AND table_schem = CURRENT_SCHEMA)
at io.trino.testing.BaseConnectorTest$3.call(BaseConnectorTest.java:1539)
... 6 moreIs it normal? |
|
It isn't normal. Could you file an issue and fix the test likes |
|
@ebyhr Please see my update: https://github.com/trinodb/trino/pull/12952/files#diff-97b52ff46b1f77c92e023e1f434bbe2284a2b0e0918f146e7ca11b6e969e9c24R507 :) It works on my local machine, passing all the tests. But I'm not sure why the GitHub check was canceled:https://github.com/trinodb/trino/runs/7041780965?check_suite_focus=true Should we retrigger the check? |
|
@ebyhr Should we split the 2 commits into 2 separate PRs to verify which one is causing the CI to fail? (Seems |
|
@ebyhr Yes, I'd love to fix it :) |
|
@ebyhr The checks pass now, I think it's ready to be merged :) |
|
Merged, thanks! |
Description
An improvement in testing.
Connector tests.
Improved some tests that shouldn't change any behavior.
Related issues, pull requests, and links
This is the third one of a series of PRs to implement #11815. It fixes 5 of the 8 remaining tests.
The 5 tests are removed because the overridden tests are working now as #12915 fixed the issue.
Documentation
(x) No documentation is needed.
Release notes
(x) No release notes entries required.