Skip to content
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

Fix failing testInsertIntoNotNullColumn in SingleStore #13677

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

ebyhr
Copy link
Member

@ebyhr ebyhr commented Aug 15, 2022

Description

Fix failing testInsertIntoNotNullColumn in SingleStore. The test has been failing on master.
https://github.com/trinodb/trino/runs/7832907169

Documentation

(x) No documentation is needed.

Release notes

(x) No release notes entries required.

@cla-bot cla-bot bot added the cla-signed label Aug 15, 2022
@ebyhr ebyhr requested review from homar and findepi August 15, 2022 08:20
@@ -223,6 +223,31 @@ public void testSingleStoreTinyint()
assertUpdate("DROP TABLE mysql_test_tinyint1");
}

// Overridden because the method from BaseConnectorTest fails on one of the assertions, see TODO below
@Override
public void testInsertIntoNotNullColumn()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm how come it didn't fail when I added it ..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SingleStore tests don't run when the PR comes from forked repository because it requires a license.
https://github.com/trinodb/trino/blob/master/plugin/trino-singlestore/src/test/java/io/trino/plugin/singlestore/TestingSingleStoreServer.java#L31

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right, is SingleStore the only one that failed because of my change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe so. This master job https://github.com/trinodb/trino/runs/7822744342 was green except for test (plugin/trino-singlestore) yesterday.

@ebyhr ebyhr requested a review from hashhar August 15, 2022 10:49
@hashhar hashhar added the no-release-notes This pull request does not require release notes entry label Aug 16, 2022
@ebyhr ebyhr merged commit 74b78a8 into master Aug 16, 2022
@ebyhr ebyhr deleted the ebi/singlestore-not-null branch August 16, 2022 06:34
@github-actions github-actions bot added this to the 393 milestone Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed no-release-notes This pull request does not require release notes entry
Development

Successfully merging this pull request may close these issues.

3 participants