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

TestNodeGetCapabilities unit test fails as expectation changed #119

Closed
Madhan-SWE opened this issue Feb 15, 2022 · 2 comments · Fixed by #120
Closed

TestNodeGetCapabilities unit test fails as expectation changed #119

Madhan-SWE opened this issue Feb 15, 2022 · 2 comments · Fixed by #120
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@Madhan-SWE
Copy link

/kind bug

What happened?
TestNodeGetCapabilities unit test fails as expectation changed

=== RUN   TestNodeGetCapabilities
    /Users/madhankumar/work/csie2etest/prowFix/f2/ibm-powervs-block-csi-driver/pkg/driver/node_test.go:812: Expected response {capabilities:<rpc:<type:STAGE_UNSTAGE_VOLUME > > capabilities:<rpc:<type:EXPAND_VOLUME > > }, got {capabilities:<rpc:<type:STAGE_UNSTAGE_VOLUME > > capabilities:<rpc:<type:EXPAND_VOLUME > > capabilities:<rpc:<type:GET_VOLUME_STATS > > }
--- FAIL: TestNodeGetCapabilities (0.00s)

Unit test was not updated when GetVolumeStatus feature was added.

What you expected to happen?
Unit test should pass

How to reproduce it (as minimally and precisely as possible)?
go test -v pkg/driver/node_test.go

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Feb 15, 2022
@Madhan-SWE
Copy link
Author

/assign

@mkumatag
Copy link
Member

cc @dharaneeshvrd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants