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

GroovyParserTest: don't clear workdir while indexer is active #8191

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

mbien
Copy link
Member

@mbien mbien commented Jan 25, 2025

fixes sporadic DirectoryNotEmptyExcepton caused by lucene index being build while the test tries to tear down the workspace

closer look showed that no other groovy tests clear the ws on tearDown(). Lets do the same; ws is cleared on setUp() anyway.

NbTestCase: print some more details when recursive clearing fails, might help with identifying other concurrent write issues

meta issue #8183

@mbien mbien added Groovy CI continuous integration changes tests labels Jan 25, 2025
@mbien mbien added this to the NB26 milestone Jan 25, 2025
@mbien mbien changed the title GroovyParsetTest: don't clear workdir while indexer is active GroovyParserTest: don't clear workdir while indexer is active Jan 25, 2025
@mbien
Copy link
Member Author

mbien commented Feb 2, 2025

planning to merge this after rc2 synced back to master

fixes sporadic DirectoryNotEmptyExcepton

closer look showed that no other groovy tests clear the ws on
tearDown(). Lets do the same; ws is cleared on setUp() anyway.

NbTestCase: print some more details when recursive clearing fails
@mbien mbien force-pushed the stabilize-groovyparsertest branch from bbfaa68 to 85194dd Compare February 7, 2025 17:15
@mbien mbien merged commit bbdcc25 into apache:master Feb 7, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI continuous integration changes Groovy tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant