Skip to content

Commit

Permalink
Remove failing test artifact GET and added some descriptive test titles
Browse files Browse the repository at this point in the history
  • Loading branch information
davidz627 committed Jun 25, 2018
1 parent 5b931fb commit 976e2b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 7 additions & 5 deletions test/remote/remote/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,13 @@ func RunRemote(suite TestSuite, archive string, host string, cleanup bool, testA
aggErrs = append(aggErrs, err)
}

glog.V(2).Infof("Copying test artifacts from %q", host)
scpErr := getTestArtifacts(host, workspace)
if scpErr != nil {
aggErrs = append(aggErrs, scpErr)
}
/*
glog.V(2).Infof("Copying test artifacts from %q", host)
scpErr := getTestArtifacts(host, workspace)
if scpErr != nil {
aggErrs = append(aggErrs, scpErr)
}
*/

return output, len(aggErrs) == 0, utilerrors.NewAggregate(aggErrs)
}
Expand Down
4 changes: 3 additions & 1 deletion test/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ set -x

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

echo "Testing CSI-Sanity"
go test -timeout 30s "${PKGDIR}/test/sanity/" -run ^TestSanity$
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}
echo "Running E2E Tests"
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 comments on commit 976e2b9

Please sign in to comment.