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

[BUG]: Unit test for csm-metrics-powerstore fails periodically #113

Closed
tdawe opened this issue Nov 30, 2021 · 0 comments
Closed

[BUG]: Unit test for csm-metrics-powerstore fails periodically #113

tdawe opened this issue Nov 30, 2021 · 0 comments
Labels
area/csm-observability Issue pertains to the CSM Observability module type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@tdawe
Copy link
Collaborator

tdawe commented Nov 30, 2021

Describe the bug
Unit tests for csm-metrics-powerstore fails periodically due to error:

--- FAIL: Test_Run (0.20s)
    run_test.go:264: missing call(s) to *exportermocks.MockOtlexporter.InitExporter(is anything, is anything) /root/csm-metrics-powerstore/internal/entrypoint/run_test.go:233
    run_test.go:264: aborting test due to missing call(s)
    --- FAIL: Test_Run/error_reading_certificate (0.00s)
        testing.go:1104: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test

To Reproduce
Steps to reproduce the behavior:

  1. Run the unit tests with a high count (ex: --count 100)

Expected behavior
Tests should be successful

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
If applicable, submit logs or stack traces from the affected services

System Information (please complete the following information):

  • OS/Version: [e.g. RHEL 7.6]
  • Kubernetes Version [e.g. 1.18]
  • Additional Information...

Additional context
Add any other context about the problem here.

@tdawe tdawe added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. area/csm-observability Issue pertains to the CSM Observability module and removed needs-triage Issue requires triage. labels Nov 30, 2021
@tdawe tdawe closed this as completed Nov 30, 2021
@gallacher gallacher modified the milestones: v1.1.0, v1.2.0 Nov 30, 2021
csmbot pushed a commit that referenced this issue Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csm-observability Issue pertains to the CSM Observability module type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

2 participants