Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Mar 4, 2024
1 parent d759f6d commit d50ef6c
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ class DefaultS3ExpressCredentialsProviderTest {
// allow the async refresh to initiate before closing the provider
runBlocking { delay(50.milliseconds) }

// close the provider, make sure all async refreshes are complete...
provider.close()
provider.waitForShutdown()

assertEquals(1, testClient.numCreateSession)
}

Expand Down Expand Up @@ -149,10 +146,7 @@ class DefaultS3ExpressCredentialsProviderTest {
// allow the async refresh to initiate before closing the provider
runBlocking { delay(50.milliseconds) }

// close the provider, make sure all async refreshes are complete...
provider.close()
provider.waitForShutdown()

assertEquals(1, testClient.numCreateSession)
}

Expand Down Expand Up @@ -192,10 +186,7 @@ class DefaultS3ExpressCredentialsProviderTest {
// allow the async refresh to initiate before closing the provider
runBlocking { delay(50.milliseconds) }

// close the provider, make sure all async refreshes are complete...
provider.close()
provider.waitForShutdown()

assertEquals(2, testClient.numCreateSession)
}

Expand Down

0 comments on commit d50ef6c

Please sign in to comment.