mirror of https://github.com/linkerd/linkerd2.git
Followup to #4522 This removes the `controlPlaneInstalled` var in `bin/install_test.go` that flagged whether the control plane was already present in the series of tests, whose intention was to avoid fetching the logs/events when the CP wasn't yet there. That was done under the assumption `TestMain()` would feed that flag to the runner for each individual test function, but it turns out `TestMain()` only runs once per test file, and so `controlPlaneInstalled` remained with its initial value `false`. So now logs/events are fetched always, even if the control plane is not there. If the CP is absent and we try fetching, we only see a `didn't find any client-go entries` message. |
||
---|---|---|
.. | ||
edges | ||
egress | ||
endpoints | ||
externalissuer | ||
get | ||
inject | ||
routes | ||
serviceaccounts | ||
serviceprofiles | ||
stat | ||
tap | ||
testdata | ||
tracing | ||
trafficsplit | ||
uninstall | ||
install_test.go |