diff options
| author | washcycle <litho23@gmail.com> | 2023-04-26 21:37:27 -0500 |
|---|---|---|
| committer | washcycle <litho23@gmail.com> | 2023-04-26 21:37:27 -0500 |
| commit | ceb40f2444d9b409b187a72ca8e8abeb437af62e (patch) | |
| tree | a18517ebeeb16cecbf3d0d9b3397352691ae15d1 /test/test.sh | |
| parent | b9cdc91ecb6008a33438d6a6407d5d4ddad9e361 (diff) | |
| download | seaweedfs-csi-driver-ceb40f2444d9b409b187a72ca8e8abeb437af62e.tar.xz seaweedfs-csi-driver-ceb40f2444d9b409b187a72ca8e8abeb437af62e.zip | |
Implement CSI Test Suite
Fixes #115
Diffstat (limited to 'test/test.sh')
| -rwxr-xr-x | test/test.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/test/test.sh b/test/test.sh index 5d6eb12..a96d4ce 100755 --- a/test/test.sh +++ b/test/test.sh @@ -7,16 +7,23 @@ cd csi-test make install ## Start Local weed server with filer -weed server -dir=/tmp/seaweedfs/data -s3 -volume.max=100 -volume.port=8090 +weed server -dir=/tmp/seaweedfs/data -s3 -volume.max=100 -volume.port=8090 -master.volumeSizeLimitMB=256 ## Run CSI Driver cd ../seaweedfs-csi-driver make build -./_output/seaweedfs-csi-driver -endpoint="$endpoint" -alsologtostderr -v=5 -filer=localhost:8888 -nodeid=test +./_output/seaweedfs-csi-driver -endpoint="$endpoint" -alsologtostderr -v=5 -filer=localhost:8888 -nodeid=test # Run CSI Sanity Tests ../csi-test/cmd/csi-sanity/csi-sanity\ --ginkgo.v\ --csi.testvolumeparameters="$(pwd)/test/sanity/params.yaml"\ + --csi.endpoint="$endpoint"\ + --ginkgo.skip="should not fail when requesting to create a volume with already existing name and same capacity|should fail when requesting to create a volume with already existing name and different capacity|should work|should fail when the requested volume does not exist|should return appropriate capabilities" + +../csi-test/cmd/csi-sanity/csi-test\ + --ginkgo.v\ + --csi.testvolumeparameters="$(pwd)/test/sanity/params.yaml"\ --csi.endpoint="$endpoint"\ - --ginkgo.skip="should not fail when requesting to create a volume with already existing name and same capacity|should fail when requesting to create a volume with already existing name and different capacity|should work|should fail when the requested volume does not exist|should return appropriate capabilities"
\ No newline at end of file + --ginkgo.label-filter="" +
\ No newline at end of file |
