Skip to content

Commit

Permalink
Revert "skip to get worker stats for kop test"
Browse files Browse the repository at this point in the history
This reverts commit 7446630.
  • Loading branch information
yaalsn committed Jul 31, 2023
1 parent 4ef3abd commit 94354a6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public TestResult run() throws Exception {

if (workload.warmupDurationMinutes > 0) {
log.info("----- Starting warm-up traffic ({}m) ------", workload.warmupDurationMinutes);
// printAndCollectStats(workload.warmupDurationMinutes, TimeUnit.MINUTES);
printAndCollectStats(workload.warmupDurationMinutes, TimeUnit.MINUTES);
}

if (workload.consumerBacklogSizeGB > 0) {
Expand All @@ -143,11 +143,11 @@ public TestResult run() throws Exception {
worker.resetStats();
log.info("----- Starting benchmark traffic ({}m)------", workload.testDurationMinutes);

// TestResult result = printAndCollectStats(workload.testDurationMinutes, TimeUnit.MINUTES);
TestResult result = printAndCollectStats(workload.testDurationMinutes, TimeUnit.MINUTES);
runCompleted = true;

worker.stopAll();
return new TestResult();
return result;
}

private void ensureTopicsAreReady() throws IOException {
Expand Down

0 comments on commit 94354a6

Please sign in to comment.