Add a device_num field to status.json output.
[arvados.git] / services / keep / keep_test.go
index 2d1916ed25328b901318dbaa3c2e0a0a5ce6eb5b..97fa1c78919e3070bf02690dbb876a741837dda7 100644 (file)
@@ -340,6 +340,9 @@ func TestNodeStatus(t *testing.T) {
                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)
                }