diff --git a/backend/Testing/ApiTests/NewProjectRaceCondition.cs b/backend/Testing/ApiTests/NewProjectRaceCondition.cs index 2eed7b63b9..b756b050b6 100644 --- a/backend/Testing/ApiTests/NewProjectRaceCondition.cs +++ b/backend/Testing/ApiTests/NewProjectRaceCondition.cs @@ -51,6 +51,8 @@ private async Task CreateQueryAndVerifyProject(Guid id) } """); + await InvalidateDirCache($"{id}"); + var project = response["data"]!["createProject"]!["createProjectResponse"].ShouldBeOfType(); project["id"]!.GetValue().ShouldBe(id.ToString());