Fix failing FUSE test (#10904)
Test was failing becuase path passed to `path.NewPath` (from boxo) did not include a required namespace. Prepending the namespace to the path with "/ipfs/" fixes this.
Andrew Gillis committed
Aug 8, 2025 at 17:26 UTC
06abadc2314edc667ddde94095f3d95a4741cc67
1 file changed
+1
-1
fuse/readonly/ipfs_test.go
+1
-1
@@ -187,7 +187,7 @@ func TestIpfsStressRead(t *testing.T) {
187
defer wg.Done()
188
189
for i := 0; i < 2000; i++ {
190
- item, err := path.NewPath(paths[rand.Intn(len(paths))])
190
+ item, err := path.NewPath("/ipfs/" + paths[rand.Intn(len(paths))])
191
if err != nil {
192
errs <- err
193
continue