TeslaCN opened a new issue #1776:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1776


   ## Bug Report
   
   Ref: https://github.com/apache/shardingsphere-elasticjob/runs/1555591106
   
   ```
   Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec 
<<< FAILURE! - in 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.job.TaskResultStatisticJobTest
   
assertExecute(org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.job.TaskResultStatisticJobTest)
  Time elapsed: 0.001 sec  <<< FAILURE!
   org.mockito.exceptions.verification.TooManyActualInvocations: 
   
   repository.add(
       <any 
org.apache.shardingsphere.elasticjob.cloud.statistics.type.task.TaskResultStatistics>
   );
   Wanted 9 times:
   -> at 
org.apache.shardingsphere.elasticjob.cloud.statistics.rdb.StatisticRdbRepository.add(StatisticRdbRepository.java:164)
   But was 10 times. Undesired invocation:
   -> at 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.job.TaskResultStatisticJob.execute(TaskResultStatisticJob.java:90)
   
        at 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.job.TaskResultStatisticJobTest.assertExecute(TaskResultStatisticJobTest.java:106)
   
   Running 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.StatisticManagerTest
   Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.StatisticManagerTest
   Running 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.StatisticsSchedulerTest
   Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.StatisticsSchedulerTest
   Running 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.TaskResultMetaDataTest
   Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.TaskResultMetaDataTest
   Running 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.util.StatisticTimeUtilsTest
   Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.util.StatisticTimeUtilsTest
   Running org.apache.shardingsphere.elasticjob.cloud.scheduler.util.IOUtilsTest
   Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.shardingsphere.elasticjob.cloud.scheduler.util.IOUtilsTest
   
   Results :
   
   Failed tests: 
     TaskResultStatisticJobTest.assertExecute:106 
   repository.add(
       <any 
org.apache.shardingsphere.elasticjob.cloud.statistics.type.task.TaskResultStatistics>
   );
   Wanted 9 times:
   -> at 
org.apache.shardingsphere.elasticjob.cloud.statistics.rdb.StatisticRdbRepository.add(StatisticRdbRepository.java:164)
   But was 10 times. Undesired invocation:
   -> at 
org.apache.shardingsphere.elasticjob.cloud.scheduler.statistics.job.TaskResultStatisticJob.execute(TaskResultStatisticJob.java:90)
   
   
   Tests run: 329, Failures: 1, Errors: 0, Skipped: 0
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to