You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?/Why is this needed
Describe the solution you'd like in detail
Need to fake CSIProxyMounter, same as fakeMounter, and enable a few unit tests on Windows, current unit tests failed with return fmt.Errorf("could not cast to csi proxy class"
Created a PR that runs CSI-Proxy as a background job. I also tried to run with NSSM but I am getting this error:
Run .\hack\start-csi-proxy.ps1
using the .exe .\nssm-2.24\win64\nssm.exe
Service "csi-proxy" installed successfully!
csi-proxy: Unexpected status SERVICE_STOPPED in response to START control.
I believe that windows runners in Github actions has some issues when running a process with Services.msc.
Is your feature request related to a problem?/Why is this needed
Describe the solution you'd like in detail
Need to fake
CSIProxyMounter
, same as fakeMounter, and enable a few unit tests on Windows, current unit tests failed withreturn fmt.Errorf("could not cast to csi proxy class"
Without fake, there would be panic:
Another way is use real CSIProxyMounter, and run csi-proxy.exe on Windows before running unit tests.
follow guide here:
Or run as a service using nssm:
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: