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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fentonreid
Copy link

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