Skip to content

Cleanup Glue databases left behind by tests#10901

Closed
findepi wants to merge 1 commit intotrinodb:masterfrom
findepi:findepi/cleanup-glue-databases-left-behind-by-tests-e49960
Closed

Cleanup Glue databases left behind by tests#10901
findepi wants to merge 1 commit intotrinodb:masterfrom
findepi:findepi/cleanup-glue-databases-left-behind-by-tests-e49960

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Feb 2, 2022

No description provided.

}

@Test
public void cleanupOrphanedDatabases()
Copy link
Copy Markdown
Member

@hashhar hashhar Feb 2, 2022

Choose a reason for hiding this comment

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

Runs in parallel. Any databases being listed in this test class can then become flaky.
Would be nice to fix those kind of tests (but I didn't spend time to find them).

Alternatively we make this just a method and call in @BeforeClass? (still flaky if other CI runs are running - but lesser chances)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There is time threshold, so it doesn't matter whether this is @Test or @BeforeClass.

It still runs in parallel with other runs (test processes), that's why i tried to code this defensively.

Copy link
Copy Markdown
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

Reminder to not submit from fork to get tests to run.

@findepi
Copy link
Copy Markdown
Member Author

findepi commented Feb 2, 2022

Reminder to not submit from fork to get tests to run.

-> #10903

@findepi findepi closed this Feb 2, 2022
@findepi findepi deleted the findepi/cleanup-glue-databases-left-behind-by-tests-e49960 branch February 2, 2022 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants