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
test failure in develop: HarvestingServerIT.testOaiFunctionality #8937
Comments
Quick status update - after much poking/discussing it on slack, it appears to be a) not obviously connected to any recent changes and b) intermittent. And seems like another instance of the overall test suite becoming more resource-intensive and slowing down to the point where an individual test that relies on a hard-coded sleep to ensure the completion of previous steps starts failing intermittently. Granted, there are smarter ways to go about it; but not sure it’s worth it at this point. I have opened the issue #8843 recently for expanding the number and scope of our Harvesting/OAI tests that I very much want to prioritize. Anything “smarter” should be done as part of that effort. Edit: actually, the test was failing not on account of the set create taking too long, but because we were trying to create the set before the publish command had a chance to complete on the dataset there. Or, to be more specific, while the dataset was still being indexed and imported - the tasks that the publish command executes asynchronously. So it wasn't the 5 sec. sleep that needed to be increased; it was another short sleep that needed to be added before the set create step. |
Quick fix for a failing harvesting test #8937
What steps does it take to reproduce the issue?
The output from the test is something like the XML below.
The test is looking for a list of size 1:
Which version of Dataverse are you using?
The first observed failure on Jenkins on the develop branch was for 1ef73b0 (the tip of develop as of this writing).
We're also seeing the failure in PR #8880 where the tip of develop was merged.
Locally I'm on 6ca1c9d (I haven't pulled from develop so I haven't picked up the merge from PR #8901 yet) and @sekmiller also hasn't pulled and we are both seeing the failure.
The text was updated successfully, but these errors were encountered: