Merge pull request #2638 from crosbymichael/daemon-root
Don't start top container in test
This commit is contained in:
commit
66b984ee33
@ -159,10 +159,6 @@ func TestDaemonRuntimeRoot(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = task.Start(ctx); err != nil {
|
|
||||||
t.Fatal(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
stateJSONPath := filepath.Join(runtimeRoot, testNamespace, id, "state.json")
|
stateJSONPath := filepath.Join(runtimeRoot, testNamespace, id, "state.json")
|
||||||
if _, err = os.Stat(stateJSONPath); err != nil {
|
if _, err = os.Stat(stateJSONPath); err != nil {
|
||||||
t.Errorf("error while getting stat for %s: %v", stateJSONPath, err)
|
t.Errorf("error while getting stat for %s: %v", stateJSONPath, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user