Open Zempashi opened 6 years ago
TBH, I'm not sure how to handle this in a BDD model... The 'problem' is metrics-server
doesn't immediately start providing metrics after startup. I already added a step to wait for it to be 'available' (i.e. not return HTTP 500), but I guess some more waiting time or retries are required before it actually exposes metrics.
And I have no clue how to express this in BDD scenarios. Any ideas, @Zempashi ?
We should create a function to wait for metrics to come up (real metrics, not just 'available' state). And then call it in the wait step or as part of testing step. That's not really related to BDD ?