Skip to content

Commit

Permalink
feat: re-order logging
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Jun 24, 2021
1 parent 4b6a9d6 commit 752086b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion test/stress/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ func TestHTTPStress(t *testing.T) {

stopPortForward := StartPortForward("http-main-0")
defer stopPortForward()

WaitForService()

stopMetricsLogger := StartMetricsLogger()
defer stopMetricsLogger()

WaitForService()
n := 10000
PumpHTTP("http://http-main/sources/default", "my-msg", n, 0)
WaitForStep(TotalSunkMessages(n))
Expand Down
4 changes: 3 additions & 1 deletion test/stress/kafka_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ func TestKafkaStress(t *testing.T) {

stopPortForward := StartPortForward("kafka-main-0")
defer stopPortForward()

WaitForPod()

stopMetricsLogger := StartMetricsLogger()
defer stopMetricsLogger()

WaitForPod()
n := 10000
PumpKafkaTopic(topic, n, 0)
WaitForStep(TotalSunkMessages(n))
Expand Down
4 changes: 3 additions & 1 deletion test/stress/stan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ func TestStanStress(t *testing.T) {

stopPortForward := StartPortForward("stan-main-0")
defer stopPortForward()

WaitForPod()

stopMetricsLogger := StartMetricsLogger()
defer stopMetricsLogger()

WaitForPod()
n := 10000
PumpStanSubject("argo-dataflow-system.stan."+subject, n, 0)
WaitForStep(TotalSunkMessages(n))
Expand Down

0 comments on commit 752086b

Please sign in to comment.