Cleanup after migration

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin
2018-01-18 16:49:34 -05:00
parent ef48a0268e
commit 37aa41b164
5 changed files with 13 additions and 19 deletions

View File

@@ -422,7 +422,6 @@ func checkSnapshotterPrepareView(ctx context.Context, t *testing.T, snapshotter
}
_, err = snapshotter.View(ctx, newLayer, snapA, opt)
//must be err != nil
assert.Check(t, err != nil)
// Two Prepare with same key
@@ -437,7 +436,6 @@ func checkSnapshotterPrepareView(ctx context.Context, t *testing.T, snapshotter
}
_, err = snapshotter.Prepare(ctx, prepLayer, snapA, opt)
//must be err != nil
assert.Check(t, err != nil)
// Two View with same key
@@ -452,7 +450,6 @@ func checkSnapshotterPrepareView(ctx context.Context, t *testing.T, snapshotter
}
_, err = snapshotter.View(ctx, viewLayer, snapA, opt)
//must be err != nil
assert.Check(t, err != nil)
}