diff --git a/container/memory_store_test.go b/container/memory_store_test.go index f81738fae1..8d26d1a962 100644 --- a/container/memory_store_test.go +++ b/container/memory_store_test.go @@ -62,7 +62,7 @@ func TestListContainers(t *testing.T) { t.Fatalf("expected list size 2, got %v", len(list)) } if list[0].ID != "id2" { - t.Fatalf("expected older container to be first, got %v", list[0].ID) + t.Fatalf("expected id2, got %v", list[0].ID) } } @@ -101,6 +101,6 @@ func TestApplyAllContainer(t *testing.T) { t.Fatal("expected container to not be nil") } if cont.ID != "newID" { - t.Fatalf("expected newID, got %v", cont) + t.Fatalf("expected newID, got %v", cont.ID) } } diff --git a/container/state_test.go b/container/state_test.go index c9a7bb4b7b..6b32a0d839 100644 --- a/container/state_test.go +++ b/container/state_test.go @@ -105,7 +105,7 @@ func TestStateTimeoutWait(t *testing.T) { }() select { case <-time.After(200 * time.Millisecond): - t.Fatal("Stop callback doesn't fire in 100 milliseconds") + t.Fatal("Stop callback doesn't fire in 200 milliseconds") case <-stopped: t.Log("Stop callback fired") }