aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-07-16 17:48:03 +0200
committerLouis Chemineau <louis@chmn.me>2024-08-28 10:21:19 +0200
commitddbeb4cac95aa6dff382a276cc847002f16b7278 (patch)
tree5f97293407b087df5ab4c0ba04ab6417ec1dc921 /tests
parent62f8b6517f4492b220ebd9df415f2b134735768b (diff)
downloadnextcloud-server-ddbeb4cac95aa6dff382a276cc847002f16b7278.tar.gz
nextcloud-server-ddbeb4cac95aa6dff382a276cc847002f16b7278.zip
test: mark share test cleanup as running across all shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Repair/CleanTagsTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/Repair/CleanTagsTest.php b/tests/lib/Repair/CleanTagsTest.php
index cbe056d1e03..f2e62b85aca 100644
--- a/tests/lib/Repair/CleanTagsTest.php
+++ b/tests/lib/Repair/CleanTagsTest.php
@@ -65,6 +65,7 @@ class CleanTagsTest extends \Test\TestCase {
->execute();
$qb->delete('filecache')
+ ->runAcrossAllShards()
->execute();
}
@@ -176,6 +177,7 @@ class CleanTagsTest extends \Test\TestCase {
$fileName = $this->getUniqueID('TestRepairCleanTags', 12);
$qb->insert('filecache')
->values([
+ 'storage' => $qb->createNamedParameter(1, IQueryBuilder::PARAM_INT),
'path' => $qb->createNamedParameter($fileName),
'path_hash' => $qb->createNamedParameter(md5($fileName)),
])
@@ -183,6 +185,7 @@ class CleanTagsTest extends \Test\TestCase {
$fileName = $this->getUniqueID('TestRepairCleanTags', 12);
$qb->insert('filecache')
->values([
+ 'storage' => $qb->createNamedParameter(1, IQueryBuilder::PARAM_INT),
'path' => $qb->createNamedParameter($fileName),
'path_hash' => $qb->createNamedParameter(md5($fileName)),
])