Minor fixes

This commit is contained in:
世界
2022-07-10 14:22:28 +08:00
parent 29f78248dc
commit 7f84191748
12 changed files with 69 additions and 39 deletions

View File

@@ -11,6 +11,7 @@ import (
"github.com/docker/docker/client"
"github.com/docker/go-connections/nat"
"github.com/stretchr/testify/require"
"time"
)
type DockerOptions struct {
@@ -64,6 +65,7 @@ func startDockerContainer(t *testing.T, options DockerOptions) {
go func() {
attach.Reader.WriteTo(os.Stderr)
}()*/
time.Sleep(time.Second)
}
func cleanContainer(id string) error {