Merge "Fix: increase timeout for remove-disk"
This commit is contained in:
commit
7b0bc3699f
|
@ -129,7 +129,7 @@ def reweight_osd(osd_id, timeout=300):
|
|||
], timeout=timeout)
|
||||
|
||||
|
||||
def destroy(osd_id, purge=False, timeout=300):
|
||||
def destroy(osd_id, purge=False, timeout=600):
|
||||
"""Destroy or purge an OSD id."""
|
||||
for _ in range(10):
|
||||
# We might get here before the OSD is marked as down. As such,
|
||||
|
|
|
@ -94,7 +94,7 @@ class RemoveDiskActionTests(CharmTestCase):
|
|||
)
|
||||
check_call.assert_any_call(
|
||||
prefix_args + ['osd', 'purge', 'osd.1', '--yes-i-really-mean-it'],
|
||||
timeout=300
|
||||
timeout=600
|
||||
)
|
||||
check_call.assert_any_call(
|
||||
prefix_args + ['osd', 'crush', 'reweight', 'osd.1', '0'],
|
||||
|
|
Loading…
Reference in New Issue