Skip to content

Commit

Permalink
Fix flaky IDP test (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-rodriguez authored Mar 21, 2024
1 parent 8738e4c commit 521e124
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Okta.Sdk.IntegrationTest/IdentityProvidersScenarios.cs
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,7 @@ public async Task DeactivateIdp()
{
createdIdp.Status.Should().Be(LifecycleStatus.ACTIVE);
await _idpApi.DeactivateIdentityProviderAsync(createdIdp.Id);
Thread.Sleep(3000);
var retrievedIdp = await _idpApi.GetIdentityProviderAsync(createdIdp.Id);
retrievedIdp.Status.Should().Be(LifecycleStatus.INACTIVE);
}
Expand Down

0 comments on commit 521e124

Please sign in to comment.