Skip to content

Commit

Permalink
add sleep time
Browse files Browse the repository at this point in the history
Signed-off-by: Ang Zhou <[email protected]>
  • Loading branch information
azhouwd committed Mar 28, 2023
1 parent 15f8630 commit 1d18c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/vm/finch_config_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"os"
"path/filepath"
"time"

"github.com/onsi/ginkgo/v2"
"github.com/onsi/gomega"
Expand Down Expand Up @@ -45,8 +46,7 @@ var testFinchConfigFile = func(o *option.Option) {
registryImage)
ginkgo.DeferCleanup(command.Run, o, "rmi", registryImage)
ginkgo.DeferCleanup(command.Run, o, "rm", "-f", registryContainer)
command.Run(o, "images")
command.Run(o, "ps", "-a")
time.Sleep(2 * time.Second)
registry := fmt.Sprintf(`localhost:%d`, port)
command.Run(o, "login", registry, "-u", "testUser", "-p", "testPassword")

Expand Down

0 comments on commit 1d18c46

Please sign in to comment.