aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-10-10 17:00:09 +0200
committerRobin Appelman <robin@icewind.nl>2025-02-25 17:52:40 +0100
commit0a77ba99a21e061eda9ffdfc9646c47e8c275cf6 (patch)
tree4c3875aef5ef1d6f86ae0b35f4356eb1bdb678c0 /tests/lib
parent9682ef7025789dd47695fe5087bb4c37ce8332af (diff)
downloadnextcloud-server-sharding-existing.tar.gz
nextcloud-server-sharding-existing.zip
feat: support migrating an instance to shardingsharding-existing
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php b/tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php
index a135b9159dd..d0f232cb03f 100644
--- a/tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php
+++ b/tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php
@@ -39,7 +39,7 @@ class SharedQueryBuilderTest extends TestCase {
return new ShardedQueryBuilder(
$this->connection->getQueryBuilder(),
[
- new ShardDefinition($table, $primaryColumn, [], $shardColumn, new RoundRobinShardMapper(), $companionTables, []),
+ new ShardDefinition($table, $primaryColumn, [], $shardColumn, new RoundRobinShardMapper(), $companionTables, [], 0, 0),
],
$this->createMock(ShardConnectionManager::class),
$this->autoIncrementHandler,