test: fix test_hostha_simulator.py and test_outofbandmanagement.py#10815
Conversation
…ator.py
this fixes the test failure below
```
======================================================================
FAIL: Tests ha resource ownership expiry across multi-mgmt server
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/test/integration/smoke/test_hostha_simulator.py", line 462, in test_ha_multiple_mgmt_server_ownership
self.fail("Management server failed to turn down or remove fake mgmt server")
AssertionError: Management server failed to turn down or remove fake mgmt server
----------------------------------------------------------------------
Ran 19 tests in 277.481s
```
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #10815 +/- ##
=========================================
Coverage 16.13% 16.13%
Complexity 13217 13217
=========================================
Files 5649 5651 +2
Lines 496703 496740 +37
Branches 60179 60183 +4
=========================================
+ Hits 80129 80149 +20
- Misses 407656 407668 +12
- Partials 8918 8923 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Cc @Pearl1594 |
|
@weizhouapache , the out-of-bounds failures also happen in the 4.19 GHA (see this job) . Can you backport the fix? |
@DaanHoogland |
ok, I see. So the timeout wasn’t necessary before. Is that something to worry about? |
@DaanHoogland these two tests contain some manual database insertation/deletion. |
this fixes the test failure below
Description
This PR...
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?