Repository navigation
qa/tasks/cephadm_cases: increase timeouts in test_cli.py - #44965
Conversation
These seem to be failing sometimes but in my testing sometimes these events are happening a few seconds after we hit the timeout. Trying to see if this makes the tests more consistent. No need to mark the test as failed if we report something up in 34 seconds vs 25 especially when cephadm works on a cyclic daemon refresh. Signed-off-by: Adam King <[email protected]>
| def test_pause(self): | ||
| self._orch_cmd('pause') | ||
| self.wait_for_health('CEPHADM_PAUSED', 30) | ||
| self.wait_for_health('CEPHADM_PAUSED', 60) |
There was a problem hiding this comment.
Maybe this is overkill, but perhaps it would be helpful to have a "constant" for the standard wait period? Something like heath_wait_secs In other cases you can still have non-default values OR do a multiple of the health_wait_secs value...
There was a problem hiding this comment.
you're probably right here, although I didn't see the wait times as sort of connected in any way (it's just intervals like 30 and 60 are natural) so I didn't set anything up. I'm probably going to merge this since the qa run was good and I don't want to have to test it again right now but I'll keep the idea in mind if I look here again.
|
only ingress failures tracked by https://tracker.ceph.com/issues/53807 |
These seem to be failing sometimes but in my testing
sometimes these events are happening a few seconds after
we hit the timeout. Trying to see if this makes the tests
more consistent. No need to mark the test as failed
if we report something up in 34 seconds vs 25 especially
when cephadm works on a cyclic daemon refresh.
Signed-off-by: Adam King [email protected]
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox