diff options
author | Robin Appelman <robin@icewind.nl> | 2024-07-16 17:48:03 +0200 |
---|---|---|
committer | Louis <louis@chmn.me> | 2024-08-28 14:54:14 +0200 |
commit | ecf1cc2c3cdebb3abeb14e377ef504cacf93ca7b (patch) | |
tree | 3ce05c24a7b5d5b688d98d26a493c1b3137228b3 /tests | |
parent | 82d7eaf80a545d69f99134de5cc08fcf7bd700e7 (diff) | |
download | nextcloud-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.php | 3 |
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)), ]) |