Skip to content

Commit

Permalink
ADM-794:[backend]fix: repair test
Browse files Browse the repository at this point in the history
  • Loading branch information
yulongcai committed Feb 1, 2024
1 parent 2696ae6 commit 4e9ed2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ void ShouldInitializeMetricsDataCompletedInHandlerWhenRequestMetricsExist() thro
.thenReturn(MetricsDataCompleted.builder().pipelineMetricsCompleted(true).build());
doAnswer(invocation -> null).when(generateReporterService).generateBoardReport(request);

Thread.sleep(100);
reportService.generateReportByType(request, MetricType.BOARD);
Thread.sleep(100);

verify(asyncMetricsDataHandler).putMetricsDataCompleted("csvTimeStamp", expectMetricsDataResult);
verify(generateReporterService).generateBoardReport(request);
Expand Down

0 comments on commit 4e9ed2f

Please sign in to comment.