Skip to content

Commit

Permalink
Changed not to expose other users' perftest running information
Browse files Browse the repository at this point in the history
  • Loading branch information
imbyungjun committed May 7, 2024
1 parent 21fcad0 commit 86b9983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public Map<String, Object> getStatuses(User user, @RequestParam(defaultValue = "
.collect(toList());

return buildMap(
"perfTestInfo", perfTestService.getCurrentPerfTestStatistics(),
"runningTestsCount", perfTestService.getCurrentPerfTestStatistics().size(),
"status", statuses
);
}
Expand Down
2 changes: 1 addition & 1 deletion ngrinder-frontend/src/js/components/perftest/list/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
}
this.tests[target.index].status = updatedStatus;
this.runningSummary = `${res.data.perfTestInfo.length} ${this.i18n('perfTest.list.runningSummary')}`;
this.runningSummary = `${res.data.runningTestsCount} ${this.i18n('perfTest.list.runningSummary')}`;
});
}).finally(() => this.updateStatusTimeoutId = setTimeout(this.updatePerftestStatus, 2000));
} else {
Expand Down

0 comments on commit 86b9983

Please sign in to comment.