Skip to content

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

Merged
mbien merged 1 commit intoapache:masterfrom
mbien:stabilize-groovyparsertest
Feb 7, 2025
Merged

GroovyParserTest: don't clear workdir while indexer is active#8191
mbien merged 1 commit intoapache:masterfrom
mbien:stabilize-groovyparsertest

Conversation

@mbien
Copy link
Copy Markdown
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
Copy Markdown
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
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