Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: docker/podman: make soft start 20 seconds faster #7435

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
skip soft start log check for none
  • Loading branch information
medyagh committed Apr 9, 2020
commit e912175e24b4784e8198b797c656215e4eebceb5
10 changes: 6 additions & 4 deletions test/integration/start_stop_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ func TestStartStop(t *testing.T) {
t.Fatalf("failed to soft start minikube. args %q: %v", rr.Command(), err)
}

// if this fails means, our soft start was a hard start.
softLog := "the cluster does not need a reset"
if !strings.Contains(rr.Output(), softLog) {
t.Errorf("expected the soft start log outputs to include %q but got: %s", softLog, rr.Output())
if !NoneDriver() { // none driver does not invoke needs reset
// if this fails means, our soft start was a hard start.
softLog := "the cluster does not need a reset"
if !strings.Contains(rr.Output(), softLog) {
t.Errorf("expected the soft start log outputs to include %q but got: %s", softLog, rr.Output())
}
}

if !strings.Contains(tc.name, "cni") {
Expand Down