Merge pull request #2638 from crosbymichael/daemon-root

Don't start top container in test
This commit is contained in:
Derek McGowan 2018-09-12 10:32:11 -07:00 committed by GitHub
commit 66b984ee33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,10 +159,6 @@ func TestDaemonRuntimeRoot(t *testing.T) {
t.Fatal(err)
}
if err = task.Start(ctx); err != nil {
t.Fatal(err)
}
stateJSONPath := filepath.Join(runtimeRoot, testNamespace, id, "state.json")
if _, err = os.Stat(stateJSONPath); err != nil {
t.Errorf("error while getting stat for %s: %v", stateJSONPath, err)