Commit 27ec7d06 authored by Jérome Perrin's avatar Jérome Perrin

testcase: give more time for instance destruction.

During teardown, we sometimes have errors that processes are still
running after being stopped, something like:
    Fault: <Fault 91: 'STILL_RUNNING: TestTelegraf-0'>

This is because we only retried `slapos node report` two times, but
`slapos node report` tells supervisor to stop processes without
waiting and when processes takes time to stop, this is sometimes not
enough. Increase to retry up to 10 times by default.

/reviewed-on !178
parent 4d5d2a75
Pipeline #7541 failed with stage
in 0 seconds
......@@ -379,7 +379,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
# maximum retries for `slapos node instance`
instance_max_retry = 10
# maximum retries for `slapos node report`
report_max_retry = 2
report_max_retry = 10
# number of partitions needed for this instance
partition_count = 10
# reference of the default requested partition
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment