projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2213910
)
21696: Exercise less efficient code path by mixing up block order.
author
Tom Clegg <tom@curii.com>
Tue, 16 Apr 2024 18:07:43 +0000
(14:07 -0400)
committer
Tom Clegg <tom@curii.com>
Tue, 16 Apr 2024 18:07:43 +0000
(14:07 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
sdk/go/arvados/fs_collection_test.go
patch
|
blob
|
history
diff --git
a/sdk/go/arvados/fs_collection_test.go
b/sdk/go/arvados/fs_collection_test.go
index 5d9c52c860d3e1fd59c9b7896741444e9ed24c04..e02ef9ee3e3f63ebf019e7d5eebe63c490f77ac9 100644
(file)
--- a/
sdk/go/arvados/fs_collection_test.go
+++ b/
sdk/go/arvados/fs_collection_test.go
@@
-1667,7
+1667,7
@@
func (s *CollectionFSUnitSuite) testLargeManifest(c *check.C, dirCount, filesPer
}
}
for j := 0; j < filesPerDir; j++ {
- fmt.Fprintf(mb, " %d:%d:dir%d/file%d",
j
*blocksPerFile*blksize, blocksPerFile*blksize, j, j)
+ fmt.Fprintf(mb, " %d:%d:dir%d/file%d",
(filesPerDir-j-1)
*blocksPerFile*blksize, blocksPerFile*blksize, j, j)
}
mb.Write([]byte{'\n'})
}