Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Await async call in "register user" test #171

Merged
merged 1 commit into from
Jul 22, 2021
Merged

Await async call in "register user" test #171

merged 1 commit into from
Jul 22, 2021

Conversation

itowlson
Copy link
Contributor

Fixes a flake where the user registered by the test sometimes did not exist when we came to do the check (because the operation was still in progress).

I also added a couple of clauses to ensure that we would get compile errors if we lost the await in future.

@itowlson itowlson merged commit 2ba7c38 into deislabs:main Jul 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants