Skip to content

Commit

Permalink
Make one more integration test more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
rmunn committed May 8, 2024
1 parent 3a82bae commit 3bbb7e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/Testing/ApiTests/NewProjectRaceCondition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ private async Task CreateQueryAndVerifyProject(Guid id)
}
""");

await InvalidateDirCache($"{id}");

var project = response["data"]!["createProject"]!["createProjectResponse"].ShouldBeOfType<JsonObject>();
project["id"]!.GetValue<string>().ShouldBe(id.ToString());

Expand Down

0 comments on commit 3bbb7e0

Please sign in to comment.