Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goc clear can't clear coverage data #93

Closed
dmc420 opened this issue Aug 7, 2020 · 1 comment
Closed

goc clear can't clear coverage data #93

dmc420 opened this issue Aug 7, 2020 · 1 comment

Comments

@dmc420
Copy link

dmc420 commented Aug 7, 2020

收集了一堆覆盖率数据,想清除之前的重新收集,执行goc clear似乎无效
[user_00@user]$ goc clear
Register service aaa: http://127.0.0.1:57832 coverage counter clear call successfully
Register service bbb: http://127.0.0.1:51907 coverage counter clear call successfully

再次执行goc profile,仍然有覆盖率数据
杀掉goc server进程,重新打开,仍然有覆盖率数据

不知道是不是我理解错了,还是要用其他的方式清除数据?

@dmc420
Copy link
Author

dmc420 commented Aug 7, 2020

sorry,我自己没看到
goc init
然后重新goc register就可以了

@dmc420 dmc420 closed this as completed Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant