Skip to content

Commit 8761056

Browse files
authored
Merge pull request #36 from davidz627/feature/test
Add test-sanity script
2 parents 560d854 + fc43a0c commit 8761056

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

test/run-e2e.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -x
55

66
readonly PKGDIR=sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
77

8-
go run "$GOPATH/src/${PKGDIR}/test/remote/run_remote/run_remote.go" --logtostderr --v 4 --zone "${ZONE}" --ssh-env gce --delete-instances=true --results-dir=my_test --run-in-prow=true
8+
go run "$GOPATH/src/${PKGDIR}/test/remote/run_remote/run_remote.go" --logtostderr --v 4 --zone "${ZONE}" --ssh-env gce --delete-instances=true --results-dir=my_test --run-in-prow=true

test/run-sanity.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
set -e
4+
set -x
5+
6+
readonly PKGDIR=sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
7+
8+
go test -timeout 30s "${PKGDIR}/test/sanity/" -run ^TestSanity$

test/run-tests.sh

-11
This file was deleted.

0 commit comments

Comments
 (0)