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

Increase time-out of tests? #2515

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

ChristopheDuong
Copy link
Contributor

@ChristopheDuong ChristopheDuong commented Mar 18, 2021

What

I'm wondering If we don't need to increase the time for the sync to run...

in my PR #2460, I've enabled normalization to be running in the acceptance tests so it might need more room

Copy link
Contributor

@cgardens cgardens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

timeout bump required because normalization step was added to these tests.

@@ -766,7 +766,7 @@ private void deleteDestination(UUID destinationId) throws ApiException {
private static void waitForSuccessfulJob(JobsApi jobsApi, JobRead originalJob) throws InterruptedException, ApiException {
JobRead job = originalJob;
int count = 0;
while (count < 15 && (job.getStatus() == JobStatus.PENDING || job.getStatus() == JobStatus.RUNNING)) {
while (count < 60 && (job.getStatus() == JobStatus.PENDING || job.getStatus() == JobStatus.RUNNING)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added 45 secs to the timeout just for trying things out... not sure if we could bump in a smaller increment or is this fine?

@ChristopheDuong ChristopheDuong marked this pull request as ready for review March 18, 2021 16:22
@auto-assign auto-assign bot requested review from cgardens and davinchia March 18, 2021 16:22
@ChristopheDuong ChristopheDuong merged commit 68c8c7f into chris/required-sync-modes Mar 18, 2021
@ChristopheDuong ChristopheDuong deleted the chris/acceptance-tests branch March 18, 2021 16:24
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