acceptance/tests/subcommands/provision.rb in beaker-3.17.0 vs acceptance/tests/subcommands/provision.rb in beaker-3.18.0

- old
+ new

@@ -6,13 +6,14 @@ on default, 'rm -rf /root/* /root/.beaker' end step 'run beaker init and provision' do delete_root_folder_contents - on(default, 'beaker init') result = on(default, 'beaker provision --hosts centos6-64') + assert_match(/ERROR(.+)--hosts/, result.raw_output) + on(default, 'beaker init --hosts centos6-64') + result = on(default, 'beaker provision') assert_match(/Using available host/, result.stdout) - subcommand_state = on(default, "cat #{SubcommandUtil::SUBCOMMAND_STATE}").stdout subcommand_state = YAML.parse(subcommand_state).to_ruby assert_equal(true, subcommand_state['provisioned']) end end