Caching tests: churn readers run under a role that does not wait in the reader

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-23 18:03:09 +02:00
commit 1ccfe615bc

View file

@ -1244,7 +1244,7 @@ namespace GameCult.Caching.Tests
catch (InvalidOperationException e) when (e.Message.Contains("pull fails")) { }
catch (Exception e) { attachErrors.Add(e.Message); }
}
})).Concat(Enumerable.Range(0, 4).Select(_ => OnThread("reader", () =>
})).Concat(Enumerable.Range(0, 4).Select(_ => OnThread("churn-reader", () =>
{
while (Volatile.Read(ref stop) == 0)
{