Runtime v2

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2018-07-09 13:27:52 -04:00
parent 6de11ab973
commit da1b5470cd
78 changed files with 9836 additions and 652 deletions

View File

@@ -1239,7 +1239,7 @@ func TestContainerMetrics(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer task.Delete(ctx)
defer task.Delete(ctx, WithProcessKill)
statusC, err := task.Wait(ctx)
if err != nil {
@@ -1249,6 +1249,7 @@ func TestContainerMetrics(t *testing.T) {
metric, err := task.Metrics(ctx)
if err != nil {
t.Error(err)
return
}
if metric.ID != id {
t.Errorf("expected metric id %q but received %q", id, metric.ID)