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:
@@ -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
|
||||
|
Reference in New Issue
Block a user