diff --git a/backend/LexBoxApi/Services/HgService.cs b/backend/LexBoxApi/Services/HgService.cs index 41e2cc60c..ccbcd3995 100644 --- a/backend/LexBoxApi/Services/HgService.cs +++ b/backend/LexBoxApi/Services/HgService.cs @@ -306,14 +306,15 @@ public async Task WaitForRepoEmptyState(string code, RepoEmptyState expectedStat var done = false; while (!done) { - var hash = await GetTipHash(code); - var isEmpty = hash == AllZeroHash; - done = expectedState switch - { - RepoEmptyState.Empty => isEmpty, - RepoEmptyState.NonEmpty => !isEmpty - }; - if (!done) await Task.Delay(2500); + done = true; // Deliberately try to fail tests + // var hash = await GetTipHash(code); + // var isEmpty = hash == AllZeroHash; + // done = expectedState switch + // { + // RepoEmptyState.Empty => isEmpty, + // RepoEmptyState.NonEmpty => !isEmpty + // }; + // if (!done) await Task.Delay(2500); } }