Use t.Name() for container ids in tests

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-06-12 09:27:17 -07:00
parent 4e8548cd3f
commit be5da790a3
2 changed files with 9 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ func TestCheckpointRestore(t *testing.T) {
var (
ctx, cancel = testContext()
id = "CheckpointRestore"
id = t.Name()
)
defer cancel()
@@ -113,7 +113,7 @@ func TestCheckpointRestoreNewContainer(t *testing.T) {
}
defer client.Close()
const id = "CheckpointRestoreNewContainer"
id := t.Name()
ctx, cancel := testContext()
defer cancel()