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

If one of the covered services exit, goc profile cannot get the coverage #41

Closed
lyyyuna opened this issue Jun 17, 2020 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@lyyyuna
Copy link
Collaborator

lyyyuna commented Jun 17, 2020

If the tested service exit before goc profile get the coverage file, goc profile will write the error message instead:

goc profile output:
{"error":"Get http://127.0.0.1:38102/v1/cover/profile: dial tcp 127.0.0.1:38102: connect: connection refused"}

expected:

  1. should output coverage always
@CarlJi
Copy link
Collaborator

CarlJi commented Jul 30, 2020

use goc profile --force

@CarlJi CarlJi closed this as completed Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants