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

adding exporter test #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Its-Maniaco
Copy link

fixes #777

Signed-off-by: Divya Pamecha <[email protected]>
@Its-Maniaco
Copy link
Author

scrape.go:56: Unexpected call to *mocks.MockResultCollector.GetResultList([{0xc0003d06e0 0xc0003d0790 <nil>} 0xc000014140]) at /home/ibuntu/go/src/github.com/Its-Maniaco/chaos-exporter/controller/scrape.go:56 because: there are no expected calls of the method "GetResultList" for that receiver

How should I proceed from here?

@Nageshbansal
Copy link
Contributor

Hey @Its-Maniaco, the unit test has already been addressed through this PR.
Thanks for the contribution :)

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

Successfully merging this pull request may close these issues.

(chaos-exporter): Add Unit Test Cases for function exporter()
2 participants