Skip to content

Commit b9077a0

Browse files
committed
Running functional pipeline
1 parent e248de0 commit b9077a0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/suite/graceful_recovery_test.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,12 @@ func runRestartNodeTest(teaURL, coffeeURL string, files []string, ns *core.Names
170170

171171
var containerName string
172172

173-
for _, word := range strings.Split(string(output), " ") {
174-
if strings.Contains(word, "control-plane") {
175-
containerName = strings.TrimSpace(word)
176-
break
173+
for _, line := range strings.Split(string(output), "\n") {
174+
for _, word := range strings.Split(line, " ") {
175+
if strings.Contains(word, "control-plane") {
176+
containerName = strings.TrimSpace(word)
177+
break
178+
}
177179
}
178180
}
179181

0 commit comments

Comments
 (0)