fix(sanity): fixing flaky sanity test case

Also moving to bionic docker image for github action also.

Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
Pawan 2020-12-10 15:36:08 +05:30 committed by Kiran Mova
parent 2ae14f556b
commit 0409fca095
3 changed files with 34 additions and 8 deletions

View file

@ -76,7 +76,7 @@ EOT
function startTestSuite() {
echo "================== Start csi-sanity test suite ================="
./csi-sanity --ginkgo.v --csi.controllerendpoint=///tmp/csi.sock --csi.endpoint=/var/lib/kubelet/plugins/zfs-localpv/csi.sock --csi.testvolumeparameters=/tmp/parameters.json
./csi-sanity --ginkgo.v --csi.controllerendpoint=///tmp/csi.sock --csi.endpoint=/var/lib/kubelet/plugins/zfs-localpv/csi.sock --csi.testvolumeparameters=/tmp/parameters.json --csi.testsnapshotparameters=/tmp/parameters.json
if [ $? -ne 0 ];
then
dumpAllLogs