diff options
author | Robin Appelman <robin@icewind.nl> | 2024-07-16 17:48:03 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2024-08-28 10:21:19 +0200 |
commit | ddbeb4cac95aa6dff382a276cc847002f16b7278 (patch) | |
tree | 5f97293407b087df5ab4c0ba04ab6417ec1dc921 /tests | |
parent | 62f8b6517f4492b220ebd9df415f2b134735768b (diff) | |
download | nextcloud-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.php | 3 |
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)), ]) |