aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-07-12 17:30:11 +0200
committerRobin Appelman <robin@icewind.nl>2024-07-17 19:16:07 +0200
commitc5b687271b59af5a2600f34e10b0e0907c159ab0 (patch)
treebea84ba28dda5dbd7abe100f807869bf44516b83 /tests
parent0931492ff028972d1f3409a41477fa698b4cff30 (diff)
downloadnextcloud-server-c5b687271b59af5a2600f34e10b0e0907c159ab0.tar.gz
nextcloud-server-c5b687271b59af5a2600f34e10b0e0907c159ab0.zip
fix: make batch propagator work with sharding restrictions
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Files/Cache/PropagatorTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Cache/PropagatorTest.php b/tests/lib/Files/Cache/PropagatorTest.php
index 8902034db02..c0374f22233 100644
--- a/tests/lib/Files/Cache/PropagatorTest.php
+++ b/tests/lib/Files/Cache/PropagatorTest.php
@@ -122,7 +122,7 @@ class PropagatorTest extends TestCase {
foreach ($oldInfos as $i => $oldInfo) {
if ($oldInfo->getPath() !== 'foo/baz') {
- $this->assertNotEquals($oldInfo->getEtag(), $newInfos[$i]->getEtag());
+ $this->assertNotEquals($oldInfo->getEtag(), $newInfos[$i]->getEtag(), "etag for {$oldInfo->getPath()} not updated");
}
}