Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
changluyi committed Mar 17, 2023
1 parent ea417c9 commit 9771134
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/kube-ovn/subnet/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,9 @@ var _ = framework.Describe("[group:subnet]", func() {
}

ginkgo.By("restart deployment ")
framework.RestartSystemDeployment("kube-ovn-controller", true)
restartCmd := fmt.Sprintf("kubectl rollout restart deployment %s -n %s", deployName, namespaceName)
_, err = exec.Command("bash", "-c", restartCmd).CombinedOutput()
framework.ExpectNoError(err, "restart deployment failed")
err = deployment.WaitForDeploymentComplete(cs, deploy)
framework.ExpectNoError(err, "deployment failed to complete")

Expand Down

0 comments on commit 9771134

Please sign in to comment.