Skip to content

Commit 1b2a290

Browse files
committed
CredentialsProvider: add pause before attempting to request data
1 parent 075ee83 commit 1b2a290

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/security/TestCredentialsProvider.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class TestCredentialsProvider {
1313
app.listen(2000, false);
1414

1515
sys.thread.Thread.createWithEventLoop(() -> {
16+
Sys.sleep(1);
1617
var response = Http.requestUrl("http://localhost:2000/users");
1718
var testValue = '{"users":[{"username":"johndoe","email":"johndoe@example.com","full_name":"John Doe","disabled":false}]}';
1819
if (response != testValue)

0 commit comments

Comments
 (0)