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

Added minimum time interval and default value to operation polling #142

Merged
merged 6 commits into from
Mar 19, 2024

Conversation

Hopsaheysa
Copy link
Member

Fixes #141

Copy link
Member

@kober32 kober32 left a comment

Choose a reason for hiding this comment

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

Works OK, just 1 change pls, and update the test:

  • set the default also for delayStart
  • in the testOperationPolling remove the startPollingOperations parameters - they're set for 1s anyway, which no longer works, set the f (loadingCount == 4) condition only to 3 to lower the time for the test and raise the Assert.assertNull(future.get(20, TimeUnit.SECONDS)) assert to 30 seconds to avoid possible network/server delays (now the test takes ~10 seconds minimum instead of ~3 seconds.

@Hopsaheysa Hopsaheysa requested a review from kober32 March 18, 2024 14:08
Copy link
Member

@kober32 kober32 left a comment

Choose a reason for hiding this comment

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

👍

@Hopsaheysa Hopsaheysa merged commit 8ace09b into develop Mar 19, 2024
4 checks passed
@Hopsaheysa Hopsaheysa deleted the issues/141-operations-polling branch March 19, 2024 09:14
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.

Add default and minimum values for operation polling + document it
2 participants