We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d8c910 commit 674fccaCopy full SHA for 674fcca
internal/goofys_test.go
@@ -2579,17 +2579,18 @@ func (s *GoofysTest) TestReadDirLookUp(t *C) {
2579
for i := 0; i < 10; i++ {
2580
wg.Add(2)
2581
go func() {
2582
+ defer wg.Done()
2583
s.readDirIntoCache(t, fuseops.RootInodeID)
- wg.Done()
2584
}()
2585
2586
2587
+
2588
lookup := fuseops.LookUpInodeOp{
2589
Parent: fuseops.RootInodeID,
2590
Name: "file1",
2591
}
2592
err := s.fs.LookUpInode(nil, &lookup)
2593
t.Assert(err, IsNil)
2594
2595
2596
wg.Wait()
0 commit comments