# 2019年11月11日【发布】BUG #2203 统计服务的数据太多需要定时清理数据

[http://zbox.sjfx.com.cn/zentao/bug-view-2203.html](http://zbox.sjfx.com.cn/zentao/bug-view-2203.html)

分支：hotfix_clear_data

服务：statistics

开发：汪祝峰

[步骤]

统计服务的数据太多需要定时清理数据

[结果]

[期望]



------
------

服务：statistics

------
版本：1.2.0.1573439338

查看部署详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/deploy-g4-i4/72/consoleText)

------
查看编译详情：[Finished: SUCCESS](https://jenkins.sjfx.com.cn/job/build-tag/77/consoleText)

------
回滚版本：1.2.0.1572569260

------

------

C:\vuecode\cypress>npx cypress run 


====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:    3.5.0                                                                              │
  │ Browser:    Electron 73 (headless)                                                             │
  │ Specs:      1 found (all.spec.js)                                                              │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  all.spec.js                                                                     (1 of 1)
##teamcity[testSuiteStarted name='login and logout' flowId='27540']
##teamcity[testStarted name='visit' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='visit' duration='4444' flowId='27540']
##teamcity[testStarted name='login' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='login' duration='2317' flowId='27540']
##teamcity[testStarted name='parameter set' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='parameter set' duration='104' flowId='27540']
##teamcity[testStarted name='wechat' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='wechat' duration='10660' flowId='27540']
##teamcity[testStarted name='employee' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='employee' duration='98' flowId='27540']
##teamcity[testStarted name='store' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='store' duration='301' flowId='27540']
##teamcity[testStarted name='account' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='account' duration='1062' flowId='27540']
##teamcity[testStarted name='tag' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='tag' duration='2181' flowId='27540']
##teamcity[testStarted name='bill' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='bill' duration='1129' flowId='27540']
##teamcity[testStarted name='sms' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='sms' duration='1093' flowId='27540']
##teamcity[testStarted name='theme' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='theme' duration='1100' flowId='27540']
##teamcity[testStarted name='logout' captureStandardOutput='true' flowId='27540']
##teamcity[testFinished name='logout' duration='1534' flowId='27540']
##teamcity[testSuiteFinished name='login and logout' duration='26110' flowId='27540']

  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        12                                                                               │
  │ Passing:      12                                                                               │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        true                                                                             │
  │ Duration:     26 seconds                                                                       │
  │ Spec Ran:     all.spec.js                                                                      │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Video)

  -  Started processing:  Compressing to 32 CRF                                                     
  -  Finished processing: C:\vuecode\cypress\cypress\videos\all.spec.js.mp4              (2 seconds)


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ √  all.spec.js                              00:26       12       12        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    √  All specs passed!                        00:26       12       12        -        -        -  


------
查看测试详情：[https://git.sjfx.com.cn/report/publish/blob/master/2019-11/bug2203.mp4](https://git.sjfx.com.cn/report/publish/blob/master/2019-11/bug2203.mp4)
------
