Skip to content

Commit c3458ba

Browse files
authored
Merge pull request #20 from davidz627/fix/debianImage
Remove failing test artifact GET and added some descriptive test titles
2 parents 5b931fb + 976e2b9 commit c3458ba

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

test/remote/remote/remote.go

+7-5
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,13 @@ func RunRemote(suite TestSuite, archive string, host string, cleanup bool, testA
117117
aggErrs = append(aggErrs, err)
118118
}
119119

120-
glog.V(2).Infof("Copying test artifacts from %q", host)
121-
scpErr := getTestArtifacts(host, workspace)
122-
if scpErr != nil {
123-
aggErrs = append(aggErrs, scpErr)
124-
}
120+
/*
121+
glog.V(2).Infof("Copying test artifacts from %q", host)
122+
scpErr := getTestArtifacts(host, workspace)
123+
if scpErr != nil {
124+
aggErrs = append(aggErrs, scpErr)
125+
}
126+
*/
125127

126128
return output, len(aggErrs) == 0, utilerrors.NewAggregate(aggErrs)
127129
}

test/run-tests.sh

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

66
readonly PKGDIR=github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver
77

8+
echo "Testing CSI-Sanity"
89
go test -timeout 30s "${PKGDIR}/test/sanity/" -run ^TestSanity$
9-
go run "$GOPATH/src/${PKGDIR}/test/remote/run_remote/run_remote.go" --logtostderr --v 2 --project "${PROJECT}" --zone "${ZONE}" --ssh-env gce --delete-instances=false --cleanup=false --results-dir=my_test --service-account=${IAM_NAME}
10+
echo "Running E2E Tests"
11+
go run "$GOPATH/src/${PKGDIR}/test/remote/run_remote/run_remote.go" --logtostderr --v 2 --project "${PROJECT}" --zone "${ZONE}" --ssh-env gce --delete-instances=true --cleanup=true --results-dir=my_test --service-account=${IAM_NAME}

0 commit comments

Comments
 (0)