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

Fix intermittent failures in Harvesting IT tests #10438

Closed
stevenwinship opened this issue Mar 27, 2024 · 0 comments · Fixed by #10449
Closed

Fix intermittent failures in Harvesting IT tests #10438

stevenwinship opened this issue Mar 27, 2024 · 0 comments · Fixed by #10449
Labels
Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect
Milestone

Comments

@stevenwinship
Copy link
Contributor

stevenwinship commented Mar 27, 2024

Intermittent failures in Harvesting tests might be due to order of tests but not sure.

  • When does this issue occur? Intermittent during PR testing

  • What happens? count of harvested datasets are off

org.opentest4j.AssertionFailedError: expected: <7> but was: <6>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:527)
at edu.harvard.iq.dataverse.api.HarvestingClientsIT.harvestingClientRun(HarvestingClientsIT.java:267)
at edu.harvard.iq.dataverse.api.HarvestingClientsIT.testHarvestingClientRun_AllowHarvestingMissingCVV_False(HarvestingClientsIT.java:174)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

@stevenwinship stevenwinship added the Type: Bug a defect label Mar 27, 2024
@stevenwinship stevenwinship changed the title Fix intermittant failu Fix intermittent failures in Harvesting IT tests Mar 27, 2024
@stevenwinship stevenwinship added the Size: 3 A percentage of a sprint. 2.1 hours. label Mar 27, 2024
@stevenwinship stevenwinship self-assigned this Mar 29, 2024
@pdurbin pdurbin added this to the 6.3 milestone Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants