From e3fe3a32f618e7db834c1b31ff88ad16216a7bac Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 28 Oct 2026 00:01:41 +0100 Subject: [PATCH] GeneratorConsumer: upsert through UpsertAsync Co-Authored-By: Claude Opus 5.5 --- tests/GameCult.Caching.GeneratorConsumer/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/GameCult.Caching.GeneratorConsumer/Program.cs b/tests/GameCult.Caching.GeneratorConsumer/Program.cs index bfd86525..e4432a6f 100644 --- a/tests/GameCult.Caching.GeneratorConsumer/Program.cs +++ b/tests/GameCult.Caching.GeneratorConsumer/Program.cs @@ -43,7 +43,7 @@ foreach (var (type, value) in documents) using (var cache = new CultCache(registry)) { cache.AddBackingStore(new SingleFileMessagePackBackingStore(path)); - cache.Upsert(type, value, new CultRecordKey("k")); + cache.UpsertAsync(type, value, new CultRecordKey("k")).GetAwaiter().GetResult(); cache.FlushAllBackingStores(); } using var reopened = new CultCache(registry);