Commit Graph

13 Commits

Author SHA1 Message Date
andyzhangx 7b25f5b2df feat: disable GET_VOLUME_STATS by default
fix test
2021-11-25 14:25:19 +00:00
andyzhangx 487c1c5d43 fix: remove unnecessary lock in NodePublish 2021-05-20 05:03:28 +00:00
andyzhangx f7bc14c407 chore: switch to use k8s.io/mount-utils
fix windows build error
2021-04-23 09:05:18 +00:00
Harshika ad176e84a7 fix: Handle concurrent operation of NodeUnstage with NodeStage and NodeUnpublish with NodePublish 2021-01-17 21:50:12 +05:30
andyzhangx 6e02b11d8c feat: add GetVolumeStats support 2021-01-04 13:07:35 +00:00
Mayank Shah a5289618af fix: enable unit tests on Windows with CSI Proxy mount
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-09-28 12:02:19 +05:30
Mayank Shah 194d5512d3 test: Fix `TestNodeStageVolume` on Windows
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-09-10 17:37:43 +05:30
andyzhangx bfc941ff14 test: fix windows unit test 2020-09-07 01:27:12 +00:00
Mayank Shah d85b3c3041 refactor: add `skipTestIfWindows` method to reduce lines of code
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-09-05 17:51:33 +05:30
Mayank Shah a311dcc88d fix: unit test failure in windows
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-09-05 17:30:50 +05:30
Animesh Kumar 2b66ac4c7c test: Add unit test for nodeserver
This commit adds unit test for nodeserver.
A fake mounter is also added to support the
unit tests.

Redundant checks for target path in
NodePublishVolume has been removed. A typo
is also fixed in NodeUnstageVolume.

Signed-off-by: Animesh Kumar <animuz111@gmail.com>
2020-07-09 10:03:56 +05:30
Animesh Kumar 881f93f523 test: Add unit tests
This commit adds unit tests for csi-common,
mounter and smb.
A testMode parameter has been introduced in
server to enable running of unit tests.
Unit tests for unimplemented methods are also
added.

Signed-off-by: Animesh Kumar <animuz111@gmail.com>
2020-07-02 05:21:35 +05:30
Animesh Kumar 283ab10146 Fix password exposed in logs
Signed-off-by: Animesh Kumar <animuz111@gmail.com>
2020-05-14 14:42:56 +05:30