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

Updated GroupsIT to fix IT flakiness #381

Closed
wants to merge 1 commit into from

Conversation

arvindkrishnakumar-okta
Copy link
Contributor

This patch should fix the reported flakiness in IT com.okta.sdk.tests.it.GroupsIT#groupUserOperationsTest (Ref. OKTA-279039).

This patch should fix the reported flakiness in IT _com.okta.sdk.tests.it.GroupsIT#groupUserOperationsTest_ (Ref. OKTA-279039).
@@ -153,10 +153,10 @@ class GroupsIT implements CrudTestSupport {

// 2. Add user to the group and validate user present in group
user.addToGroup(group.getId())
assertUserInGroup(user, group)
assertUserInGroup(user, group, 5, 2000)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added additional arguments (experimental) for API retry times (value 5) & retry delay in ms (value 2000).

@ivanezeigbo-okta @vijetmahabaleshwar-okta We should try to run the IT suite with this update and check if this fixes the reported test flakiness with com.okta.sdk.tests.it.GroupsIT#groupUserOperationsTest.

Copy link
Contributor

Choose a reason for hiding this comment

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

@arvindkrishnakumar-okta awesome, would try running this. We can add delays to specific functions. This is good!

@codecov-commenter
Copy link

codecov-commenter commented May 26, 2020

Codecov Report

Merging #381 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #381   +/-   ##
=========================================
  Coverage     70.91%   70.91%           
  Complexity     1127     1127           
=========================================
  Files           120      120           
  Lines          3624     3624           
  Branches        566      566           
=========================================
  Hits           2570     2570           
  Misses          868      868           
  Partials        186      186           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e17cd15...4747826. Read the comment docs.

@arvindkrishnakumar-okta
Copy link
Contributor Author

Will address the same change in #386. Will close this PR therefore.

@arvindkrishnakumar-okta arvindkrishnakumar-okta deleted the OKTA-279039-fix-IT-flakiness branch May 29, 2020 18:15
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