-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Flaky io.trino.plugin.memory.TestMemoryConnectorTest.testCreateAndDropTable #9051
Comments
It seems the test verifies table count before and after the operation. It will fail if other tests create or drop a table at the same time. @Test
public void testCreateAndDropTable()
{
int tablesBeforeCreate = listMemoryTables().size();
assertUpdate("CREATE TABLE test AS SELECT * FROM tpch.tiny.nation", "SELECT count(*) FROM nation");
assertEquals(listMemoryTables().size(), tablesBeforeCreate + 1);
assertUpdate("DROP TABLE test");
assertEquals(listMemoryTables().size(), tablesBeforeCreate);
} |
@ebyhr Looks like it should be easy to rewrite to use Are you already working on this? If not, I'll send a PR. |
@hashhar I'm not working on this. Please feel free to send PR. Thanks. |
Thanks @hashhar for fixing this! |
https://github.com/trinodb/trino/runs/3463395818?check_suite_focus=true
The text was updated successfully, but these errors were encountered: