-
Notifications
You must be signed in to change notification settings - Fork 488
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
Cannot re-execute "Test File" without BUILD FAILURE #5122
Comments
Hey @pdurbin, I just tried this on my dev machine. Not using Netbeans, but as you were wondering if the JUnit 5 stuff might brake things: the test seems to be perfectly fine. The test is passing with This might be related to Netbeans IDE handling of tests. Does the build break on the console using |
@poikilotherm I just ran |
@poikilotherm and I have been discussing this issue at http://irclog.iq.harvard.edu/dataverse/2018-10-01 and said I could assign it to him. Thanks! I dragged it to "Community Dev" at https://waffle.io/IQSS/dataverse Something else we could try is re-executing an older test file that's been in the code base for a while. |
…he argLine stuff from IQSS#4988 to a property.
…he argLine stuff from IQSS#4988 to a property.
@poikilotherm thanks for pull request #5127! I tested it by making a new branch off my sitemap branch and merging your pull request it. Then I ran "Test File" a few times from Netbeans on SiteMapUtilTest and it worked fine. Back to normal. Off to QA. Thanks again! |
I'm on 6eecbf1 on the 4261-sitemap branch (pull request #5084) and seeing some strange behavior with running unit tests, perhaps because pull request #5071 was recently merged.
When I run SiteMapUtilTest with "Test File" in Netbeans as described at http://guides.dataverse.org/en/4.9.2/developers/testing.html#writing-unit-tests-with-junit it works fine and the tests pass, but only if I do a
mvn clean
first. Here are some screenshots with the steps I'm using to reproduce. I'm using Netbeans 8.2.First, I run a
mvn clean
(no changes have been made to the code):Then I click "Test File":
The first "Test File" works:
Then I click "Test File" again:
The second "Test File" results in BUILD FAILURE:
Here are the details of the failure in the screenshot above:
The text was updated successfully, but these errors were encountered: