projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17119: controller should export the include_old_versions flag on group
[arvados.git]
/
sdk
/
go
/
arvados
/
fs_collection_test.go
diff --git
a/sdk/go/arvados/fs_collection_test.go
b/sdk/go/arvados/fs_collection_test.go
index 59a6a6ba825e57928e9348c17d971988fa24fc94..05c8ea61a14500466ff4bc424b8847788408404b 100644
(file)
--- a/
sdk/go/arvados/fs_collection_test.go
+++ b/
sdk/go/arvados/fs_collection_test.go
@@
-1153,9
+1153,9
@@
func (s *CollectionFSSuite) TestFlushAll(c *check.C) {
fs.Flush("", true)
}
fs.Flush("", true)
}
- size := fs.
m
emorySize()
+ size := fs.
M
emorySize()
if !c.Check(size <= 1<<24, check.Equals, true) {
if !c.Check(size <= 1<<24, check.Equals, true) {
- c.Logf("at dir%d fs.
m
emorySize()=%d", i, size)
+ c.Logf("at dir%d fs.
M
emorySize()=%d", i, size)
return
}
}
return
}
}
@@
-1188,13
+1188,13
@@
func (s *CollectionFSSuite) TestFlushFullBlocksOnly(c *check.C) {
c.Assert(err, check.IsNil)
}
}
c.Assert(err, check.IsNil)
}
}
- c.Check(fs.
m
emorySize(), check.Equals, int64(nDirs*67<<20))
+ c.Check(fs.
M
emorySize(), check.Equals, int64(nDirs*67<<20))
c.Check(flushed, check.Equals, int64(0))
waitForFlush := func(expectUnflushed, expectFlushed int64) {
c.Check(flushed, check.Equals, int64(0))
waitForFlush := func(expectUnflushed, expectFlushed int64) {
- for deadline := time.Now().Add(5 * time.Second); fs.
m
emorySize() > expectUnflushed && time.Now().Before(deadline); time.Sleep(10 * time.Millisecond) {
+ for deadline := time.Now().Add(5 * time.Second); fs.
M
emorySize() > expectUnflushed && time.Now().Before(deadline); time.Sleep(10 * time.Millisecond) {
}
}
- c.Check(fs.
m
emorySize(), check.Equals, expectUnflushed)
+ c.Check(fs.
M
emorySize(), check.Equals, expectUnflushed)
c.Check(flushed, check.Equals, expectFlushed)
}
c.Check(flushed, check.Equals, expectFlushed)
}