Skip to content

Commit d91fe03

Browse files
committed
test: remove unnecessary checks
Signed-off-by: Peter Wilcsinszky <[email protected]>
1 parent a4f62d0 commit d91fe03

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

e2e/syslog-ng-aggregator/syslog_ng_aggregator_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,6 @@ func TestSyslogNGIsRunningAndForwardingLogs(t *testing.T) {
175175
t.Logf("log consumer logs: %s", rawOut)
176176
return strings.Contains(string(rawOut), "got request")
177177
}, 5*time.Minute, 2*time.Second)
178-
179-
require.NoError(t, exec.Command("kubectl", "-n", consumer.PodKey.Namespace, "exec", consumer.PodKey.Name, "--", "curl", "-sS", "http://localhost:8082/off").Run())
180-
181-
require.Eventually(t, cond.PodShouldBeRunning(t, c.GetClient(), client.ObjectKey{Namespace: ns, Name: aggergatorPodName}), 30*time.Second, time.Second/2)
182-
183-
require.NoError(t, exec.Command("kubectl", "-n", consumer.PodKey.Namespace, "exec", consumer.PodKey.Name, "--", "curl", "-sS", "http://localhost:8082/on").Run())
184-
185178
}, func(t *testing.T, c common.Cluster) error {
186179
path := filepath.Join(TestTempDir, fmt.Sprintf("cluster-%s.log", t.Name()))
187180
t.Logf("Printing cluster logs to %s", path)

0 commit comments

Comments
 (0)