Skip to content

Commit

Permalink
uncomment and fix AfterSuite step
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Cardoso <osodracnai@gmail.com>
  • Loading branch information
osodracnai committed May 31, 2023
1 parent edfb4df commit a16bee1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/e2e/privateregistry/privateregistry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ var _ = AfterEach(func() {
})

var _ = AfterSuite(func() {
//r1, err := e2e.RunCmdOnNode("sudo docker rm -f registry", serverNodeNames[0])
//fmt.Println(r1)
//Expect(err).NotTo(HaveOccurred())
//r2, err := e2e.RunCmdOnNode("sudo kubectl delete deployment my-hello-world", serverNodeNames[0])
//fmt.Println(r2)
//Expect(err).NotTo(HaveOccurred())
r1, err := e2e.RunCmdOnNode("sudo docker rm -f registry", serverNodeNames[0])
fmt.Println(r1)
Expect(err).NotTo(HaveOccurred())
r2, err := e2e.RunCmdOnNode("sudo kubectl delete deployment my-webpage", serverNodeNames[0])
fmt.Println(r2)
Expect(err).NotTo(HaveOccurred())
if failed && !*ci {
fmt.Println("FAILED!")
} else {
Expand Down

0 comments on commit a16bee1

Please sign in to comment.