cloudfoundry / loggregator-release

Cloud Native Logging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The test script is outdated

ctlong opened this issue · comments

Unit tests don't work

function run_unit {
pushd $PROJECT_DIR/src/code.cloudfoundry.org/loggregator > /dev/null
print_checkpoint "Running Unit Tests"
go test -race $(go list ./... | grep -v integration_tests) \
-ginkgo.randomizeAllSpecs \
-ginkgo.slowSpecThreshold 20 \
$@
exit_code=$?
popd > /dev/null
return $exit_code
}

Integration tests don't work

function run_integration {
print_checkpoint "Running Integration Tests"
pushd $PROJECT_DIR/src/code.cloudfoundry.org/loggregator/integration_tests > /dev/null
go test -race ./... \
-ginkgo.randomizeAllSpecs \
-ginkgo.slowSpecThreshold 20 \
$@
exit_code=$?
popd > /dev/null
return $exit_code
}

Probably others don't work as well.

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.