You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix metrics test failure by setting controllerPodName in BeforeAll
The metrics endpoint test was failing with "You must provide one or more
resources" because controllerPodName was empty. This happened because the
controller pod name was only set in the first test, but the metrics test
in the nested Context ran independently.
Moved the controller pod validation to BeforeAll at the Describe level so
controllerPodName is set once before any tests run, making it available to
all tests including the metrics endpoint test.
0 commit comments