Update btrfs driver to use snapshot storage
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
61b524aff2
commit
912746b016
7 changed files with 192 additions and 241 deletions
|
@ -189,10 +189,10 @@ func checkSnapshotterBasic(ctx context.Context, t *testing.T, snapshotter snapsh
|
|||
t.Fatalf("failure reason: %+v", err)
|
||||
}
|
||||
|
||||
// TODO: check after remove implemented
|
||||
//assert.Error(t, snapshotter.Remove(ctx, committed))
|
||||
//assert.NoError(t, snapshotter.Remove(ctx, nextCommitted))
|
||||
//assert.NoError(t, snapshotter.Remove(ctx, committed))
|
||||
assert.NoError(t, snapshotter.Remove(ctx, nextnext))
|
||||
assert.Error(t, snapshotter.Remove(ctx, committed))
|
||||
assert.NoError(t, snapshotter.Remove(ctx, nextCommitted))
|
||||
assert.NoError(t, snapshotter.Remove(ctx, committed))
|
||||
}
|
||||
|
||||
// Create a New Layer on top of base layer with Prepare, Stat on new layer, should return Active layer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue