From b5471d78d38e6ec1d2cb824463f077232b3985e4 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Fri, 24 May 2019 12:04:09 +0200 Subject: [PATCH] fix problem with rerunning behave tests I removed the "stop" option, because that would lead to only 1 failed test being retried. Any test that would have run after the failed test will not run the first time (because "stop" was true) *and* not be added to the rerun (because they didn't fail). --- test/ci-bootstrap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ci-bootstrap.py b/test/ci-bootstrap.py index 367ec79af..89c8c3a23 100755 --- a/test/ci-bootstrap.py +++ b/test/ci-bootstrap.py @@ -274,9 +274,9 @@ def write_behave_config(settings=None): nextcloud_admin_password = yaml.safe_load(stream) behave_config = configparser.ConfigParser() - behave_config['behave'] = {'stop': True} - behave_config['behave'] = {'format': 'rerun'} - behave_config['behave'] = {'outfiles': 'rerun_failing.features'} + behave_config['behave'] = {} + behave_config['behave']['format'] = 'rerun' + behave_config['behave']['outfiles'] = 'rerun_failing.features' behave_config['behave.userdata'] = {} behave_config['behave.userdata']['nextcloud.url'] = \ 'https://files.{}'.format(settings['domain']) -- GitLab