aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-07-16 17:48:03 +0200
committerLouis <louis@chmn.me>2024-08-28 14:54:14 +0200
commitecf1cc2c3cdebb3abeb14e377ef504cacf93ca7b (patch)
tree3ce05c24a7b5d5b688d98d26a493c1b3137228b3 /tests
parent82d7eaf80a545d69f99134de5cc08fcf7bd700e7 (diff)
downloadnextcloud-server-ecf1cc2c3cdebb3abeb14e377ef504cacf93ca7b.tar.gz
nextcloud-server-ecf1cc2c3cdebb3abeb14e377ef504cacf93ca7b.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 586ae24a0aa..5e7b82d2198 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)),
])