Skip to content

use correct duration for dataset publication locks#7833

Merged
kcondon merged 1 commit intodevelopfrom
sleep-for-lock
Apr 29, 2021
Merged

use correct duration for dataset publication locks#7833
kcondon merged 1 commit intodevelopfrom
sleep-for-lock

Conversation

@pdurbin
Copy link
Member

@pdurbin pdurbin commented Apr 28, 2021

What this PR does / why we need it:

In the test suite, when we added sleeps for locks we specified a duration for ingest (3 seconds) and a duration for publish (15 seconds). Only the ingest duration was used. This pull request switches the publish operations to use the duration for publish. I only noticed this because when testing the creation of a dataset with 200 versions, the number of seconds to publish quickly exceeded the lower ingest limit.

Which issue(s) this PR closes:

Closes # (none)

Special notes for your reviewer:

None. Just test code.

Suggestions on how to test this:

Let the test suite run on Jenkins.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

No.

Is there a release notes update needed for this change?:

No.

Additional documentation:

None.

@scolapasta scolapasta self-assigned this Apr 29, 2021
@scolapasta scolapasta removed their assignment Apr 29, 2021
@kcondon kcondon self-assigned this Apr 29, 2021
@kcondon kcondon merged commit 5d75cac into develop Apr 29, 2021
@kcondon kcondon deleted the sleep-for-lock branch April 29, 2021 19:19
@djbrooke djbrooke added this to the 5.5 milestone May 3, 2021
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.

4 participants