Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/github.com/cloudfoundry-incubator/switchboard/bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ go vet ./...

echo "Testing packages..."

CPU_COUNT="$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 4)"
GINKGO_PROCS=$(( CPU_COUNT < 4 ? CPU_COUNT : 4 ))

GINKGO_FLAGS=(
-r
--fail-on-pending
--randomize-all
--race
--keep-going
-p
--procs="${GINKGO_PROCS}"
)

go run github.com/onsi/ginkgo/v2/ginkgo "${GINKGO_FLAGS[@]}" "$@"
2 changes: 2 additions & 0 deletions src/github.com/cloudfoundry-incubator/switchboard/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ require (
)

exclude golang.org/x/tools v0.38.0

replace github.com/tedsuo/ifrit => github.com/tedsuo/ifrit v0.0.0-20260418191334-846868129986
1,593 changes: 1,591 additions & 2 deletions src/github.com/cloudfoundry-incubator/switchboard/go.sum

Large diffs are not rendered by default.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ github.com/prometheus/procfs/internal/util
# github.com/square/certstrap v1.3.0
## explicit; go 1.18
github.com/square/certstrap/pkix
# github.com/tedsuo/ifrit v0.0.0-20260813155221-94822c932811
## explicit; go 1.25.0
# github.com/tedsuo/ifrit v0.0.0-20260813155221-94822c932811 => github.com/tedsuo/ifrit v0.0.0-20260418191334-846868129986
## explicit; go 1.16
github.com/tedsuo/ifrit
github.com/tedsuo/ifrit/ginkgomon_v2
github.com/tedsuo/ifrit/grouper
Expand Down Expand Up @@ -266,3 +266,4 @@ gopkg.in/validator.v2
# gopkg.in/yaml.v3 v3.0.1
## explicit
gopkg.in/yaml.v3
# github.com/tedsuo/ifrit => github.com/tedsuo/ifrit v0.0.0-20260418191334-846868129986
Loading