From a4ebafdf63965b9257c3778115ac807d2cd023c1 Mon Sep 17 00:00:00 2001 From: aviv Date: Tue, 16 Jan 2024 11:08:18 +0200 Subject: [PATCH] RavenDB-17793 : tmp commit2 --- test/SlowTests/Sharding/PrefixedSharding.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/SlowTests/Sharding/PrefixedSharding.cs b/test/SlowTests/Sharding/PrefixedSharding.cs index 440b4dff8194..3ead1461bc88 100644 --- a/test/SlowTests/Sharding/PrefixedSharding.cs +++ b/test/SlowTests/Sharding/PrefixedSharding.cs @@ -1452,6 +1452,8 @@ record = await store.Maintenance.Server.SendAsync(new GetDatabaseRecordOperation Assert.NotNull(user); } + // first we need to add new shard to prefix setting + await Sharding.Resharding.MoveShardForId(store, id, toShard); var exists = WaitForDocument(store, id, predicate: null, database: ShardHelper.ToShardName(store.Database, toShard));