From 3bbb7e0a5892b4e3397deaff4b002f730103cb5c Mon Sep 17 00:00:00 2001 From: Robin Munn Date: Wed, 8 May 2024 14:41:57 +0700 Subject: [PATCH] Make one more integration test more reliable --- backend/Testing/ApiTests/NewProjectRaceCondition.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/Testing/ApiTests/NewProjectRaceCondition.cs b/backend/Testing/ApiTests/NewProjectRaceCondition.cs index 2eed7b63b..b756b050b 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());