projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a device_num field to status.json output.
[arvados.git]
/
services
/
keep
/
keep_test.go
diff --git
a/services/keep/keep_test.go
b/services/keep/keep_test.go
index 2d1916ed25328b901318dbaa3c2e0a0a5ce6eb5b..97fa1c78919e3070bf02690dbb876a741837dda7 100644
(file)
--- a/
services/keep/keep_test.go
+++ b/
services/keep/keep_test.go
@@
-340,6
+340,9
@@
func TestNodeStatus(t *testing.T) {
if mtp != vol {
t.Errorf("GetNodeStatus mount_point %s != KeepVolume %s", mtp, vol)
}
if mtp != vol {
t.Errorf("GetNodeStatus mount_point %s != KeepVolume %s", mtp, vol)
}
+ if volinfo.DeviceNum == 0 {
+ t.Errorf("uninitialized device_num in %v", volinfo)
+ }
if volinfo.BytesFree == 0 {
t.Errorf("uninitialized bytes_free in %v", volinfo)
}
if volinfo.BytesFree == 0 {
t.Errorf("uninitialized bytes_free in %v", volinfo)
}