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

update service provider manager test case #2399

Merged
merged 2 commits into from
Nov 9, 2023
Merged

update service provider manager test case #2399

merged 2 commits into from
Nov 9, 2023

Conversation

havetisyan
Copy link
Collaborator

@havetisyan havetisyan commented Nov 8, 2023

Description

the test case sets up provider list update every second, but it's possible if the build system is slow, the 10 threads verifying the list don't finish within a second before the list is refreshed. now, it's set to 5 secs so plenty of time for threads to complete their tasks.

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Attach Screenshots (Optional)

Signed-off-by: Henry Avetisyan <hga@yahooinc.com>
@@ -64,7 +62,7 @@ public void clean() {
public void testIsServiceProvider() throws InterruptedException, ExecutionException {
String testDomainName = "test.domain";
String testRoleName = "test_role";
long fetchFrequency = 1L; // For the test, fetch every second
long fetchFrequency = 5L; // For the test, fetch every second
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we update the comment accordingly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, thanks.updated the comment

Signed-off-by: Henry Avetisyan <hga@yahooinc.com>
@abvaidya abvaidya merged commit 25cb5ac into master Nov 9, 2023
2 checks passed
@abvaidya abvaidya deleted the test-case branch November 9, 2023 14:25
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.

3 participants