Skip to content

Run.dev.tests JUnit task with fork enabled to prevent hanging#485

Open
fentonreid wants to merge 2 commits into
rjust:masterfrom
fentonreid:run-dev-test-hanging-fix
Open

Run.dev.tests JUnit task with fork enabled to prevent hanging#485
fentonreid wants to merge 2 commits into
rjust:masterfrom
fentonreid:run-dev-test-hanging-fix

Conversation

@fentonreid

Copy link
Copy Markdown

The JUnit task for run.dev.tests in defects4j.build.xml has the fork attribute enabled, with fork mode set to 'once' to create a single JVM for all tests. A default timeout of 3 minutes is also specified, to stop the execution of all tests after this period.

This change allows for endless execution of relevant tests for the defects4j 'test' command with the -r flag. Without the run.dev.tests task hanging indefinitely, a problem encountered in Dockerized defects4J.

@fentonreid fentonreid changed the title Add Fenton Reid to defects4j.build.xml Run.dev.tests JUnit task with fork enabled to prevent hanging Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants