Mark faulty device in one transaction
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
This commit is contained in:
@@ -162,7 +162,7 @@ func TestPoolMetadata_MarkFaulty(t *testing.T) {
|
||||
err := store.AddDevice(testCtx, info)
|
||||
assert.NilError(t, err)
|
||||
|
||||
err = store.MarkFaulty(testCtx, info)
|
||||
err = store.MarkFaulty(testCtx, "test")
|
||||
assert.NilError(t, err)
|
||||
|
||||
saved, err := store.GetDevice(testCtx, info.Name)
|
||||
|
||||
Reference in New Issue
Block a user