Remove Stdio usage in tests

This causes shims and containers to hang when they use the testing
process's IO.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-08-18 14:28:47 -04:00
parent 10460647f2
commit 1b470c180e
2 changed files with 14 additions and 29 deletions

View File

@@ -209,7 +209,7 @@ func TestDaemonRestart(t *testing.T) {
}
defer container.Delete(ctx, WithSnapshotCleanup)
task, err := container.NewTask(ctx, Stdio)
task, err := container.NewTask(ctx, empty())
if err != nil {
t.Error(err)
return