Skip to content

Commit f3f82b9

Browse files
committed
Remove comments
1 parent d94c435 commit f3f82b9

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/suite/graceful_recovery_test.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -147,25 +147,7 @@ func runRestartNodeTest(teaURL, coffeeURL string, files []string, ns *core.Names
147147
Expect(err).ToNot(HaveOccurred())
148148
}
149149

150-
// containerOutput, err := exec.Command("docker", "container", "ls").CombinedOutput()
151-
// Expect(err).ToNot(HaveOccurred())
152-
153150
containerName := *clusterName + "-control-plane"
154-
fmt.Println("This is the container name: " + containerName)
155-
//var containerName string
156-
//for _, line := range strings.Split(string(containerOutput), "\n") {
157-
// for _, word := range strings.Split(line, " ") {
158-
// // This is a potential weak spot in the code where we rely on the container which NGF
159-
// // is running on to contain "control-plane" in the name and for no other container to have that either.
160-
// // This is currently working in our test framework may break in the future.
161-
// if strings.Contains(word, "control-plane") {
162-
// containerName = strings.TrimSpace(word)
163-
// break
164-
// }
165-
// }
166-
//}
167-
//Expect(containerName).ToNot(Equal(""))
168-
169151
_, err = exec.Command("docker", "restart", containerName).CombinedOutput()
170152
Expect(err).ToNot(HaveOccurred())
171153

0 commit comments

Comments
 (0)