diff --git a/qa/qa-sample.json b/qa/qa-sample.json index 3c3a6641ced0046bc42317d82b8890a4e5355c80..e5d4980074b8d32ee4d3d94bfc369f3832d83551 100644 --- a/qa/qa-sample.json +++ b/qa/qa-sample.json @@ -90,7 +90,8 @@ "burnin-instances": 2, "burnin-disk-template": "drbd", "burnin-in-parallel": false, - "burnin-check-instances": false + "burnin-check-instances": false, + "burnin-rename": "xen-test-rename" }, "# vim: set syntax=javascript :": null diff --git a/qa/qa_cluster.py b/qa/qa_cluster.py index d2367c0167d52626bcdd5ec8eb933f53ad5a9966..4d10c8f46524c2c8768a91097e485ea8d55769ba 100644 --- a/qa/qa_cluster.py +++ b/qa/qa_cluster.py @@ -152,6 +152,7 @@ def TestClusterBurnin(): disk_template = options.get('burnin-disk-template', 'drbd') parallel = options.get('burnin-in-parallel', False) check_inst = options.get('burnin-check-instances', False) + do_rename = options.get('burnin-rename', '') # Get as many instances as we need instances = [] @@ -179,6 +180,8 @@ def TestClusterBurnin(): cmd.append('--parallel') if check_inst: cmd.append('--http-check') + if do_rename: + cmd.append('--rename=%s' % do_rename) cmd += [inst['name'] for inst in instances] AssertEqual(StartSSH(master['primary'], utils.ShellQuoteArgs(cmd)).wait(), 0)