-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add testTruncateTable in BaseConnectorSmokeTest #17409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0100ada to
2d045ff
Compare
testing/trino-testing/src/main/java/io/trino/testing/BaseConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
|
/test-with-secrets sha=2d045ffb397ee0bbb10de9fbafc36180e570e819 |
87ed2e0 to
6151d39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do try (TestTable table once, before checking hasBehavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try (TestTable table will fail when the connector doesn't support both TRUNCATE & CREATE TABLE AS SELECT statements. Changed it to.
if (!hasBehavior(SUPPORTS_TRUNCATE)) {
assertQueryFails("TRUNCATE TABLE nation", "This connector does not support truncating tables");
}
testing/trino-testing/src/main/java/io/trino/testing/BaseConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
|
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/4932226217 |
6151d39 to
c90bdde
Compare
|
resolved conflicts |
c90bdde to
84c3c3a
Compare
|
/test-with-secrets sha=84c3c3aa435283079a56cfb38e6c29412b2d6a05 |
|
I can't find the relevant CI job with secrets. Let me rerun. |
|
/test-with-secrets sha=84c3c3aa435283079a56cfb38e6c29412b2d6a05 |
No description provided.