kubernetes-sigs / hydrophone

Hydrophone is a lightweight Kubernetes conformance tests runner
Apache License 2.0
67 stars 31 forks source link

`--parallel` flag not working? #167

Closed xrstf closed 6 months ago

xrstf commented 7 months ago

Currently --parallel gives the impression of setting the concurrency level (thread/goroutine count). This makes sense when looking at the Dockerfile for the conformance tester:

ENV E2E_PARALLEL="1"

However when I grep through the k/k codebase, this env is only used in 2 places:

Since hydrophone does not set a custom command, setting --parallel=7 has no effect.

run_e2e.sh is deprecated and now only a shim to the go-runner, so I guess it would make sense to redefine --parallel to be a boolean. Alternatively maybe it could remain an int and set the --procs (--nodes is an alias for it) flag via E2E_EXTRA_GINKGO_ARGS, like the run_e2e.sh did?