From eabc1c5222d372d95572341b98a9a6c508438c3a Mon Sep 17 00:00:00 2001 From: xuchao Date: Mon, 9 Nov 2015 11:34:04 +0800 Subject: [PATCH] Add quotation marks Update constant to "constant",so it will work well. Change-Id: I62aa93892fc53e78da52b1d391aa2e58022b449a --- certification/openstack/macro/macro.yaml | 2 +- samples/tasks/scenarios/nova/boot-and-block-migrate.yaml | 2 +- samples/tasks/scenarios/nova/boot-and-live-migrate.yaml | 2 +- samples/tasks/scenarios/nova/boot-and-migrate.yaml | 2 +- samples/tasks/scenarios/nova/boot-and-rebuild.yaml | 2 +- .../boot-server-attach-created-volume-and-live-migrate.yaml | 2 +- .../nova/boot-server-from-volume-and-live-migrate.yaml | 2 +- .../tasks/scenarios/vm/boot_runcommand_delete_custom_image.yaml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/certification/openstack/macro/macro.yaml b/certification/openstack/macro/macro.yaml index 31f4e0871c..7a58147d37 100644 --- a/certification/openstack/macro/macro.yaml +++ b/certification/openstack/macro/macro.yaml @@ -34,7 +34,7 @@ {%- endmacro %} {%- macro constant_runner(concurrency=1, times=1, is_smoke=True) %} - type: constant + type: "constant" {%- if is_smoke %} concurrency: 1 times: 1 diff --git a/samples/tasks/scenarios/nova/boot-and-block-migrate.yaml b/samples/tasks/scenarios/nova/boot-and-block-migrate.yaml index d02508bd2c..4fb1899228 100644 --- a/samples/tasks/scenarios/nova/boot-and-block-migrate.yaml +++ b/samples/tasks/scenarios/nova/boot-and-block-migrate.yaml @@ -8,7 +8,7 @@ NovaServers.boot_and_live_migrate_server: name: "^cirros.*uec$" block_migration: true runner: - type: constant + type: "constant" times: 10 concurrency: 2 context: diff --git a/samples/tasks/scenarios/nova/boot-and-live-migrate.yaml b/samples/tasks/scenarios/nova/boot-and-live-migrate.yaml index 2e46837954..1bee05e3cb 100644 --- a/samples/tasks/scenarios/nova/boot-and-live-migrate.yaml +++ b/samples/tasks/scenarios/nova/boot-and-live-migrate.yaml @@ -8,7 +8,7 @@ NovaServers.boot_and_live_migrate_server: name: "^cirros.*uec$" block_migration: false runner: - type: constant + type: "constant" times: 10 concurrency: 2 context: diff --git a/samples/tasks/scenarios/nova/boot-and-migrate.yaml b/samples/tasks/scenarios/nova/boot-and-migrate.yaml index e53a630113..798bd37179 100644 --- a/samples/tasks/scenarios/nova/boot-and-migrate.yaml +++ b/samples/tasks/scenarios/nova/boot-and-migrate.yaml @@ -7,7 +7,7 @@ NovaServers.boot_and_migrate_server: image: name: "^cirros.*uec$" runner: - type: constant + type: "constant" times: 10 concurrency: 2 context: diff --git a/samples/tasks/scenarios/nova/boot-and-rebuild.yaml b/samples/tasks/scenarios/nova/boot-and-rebuild.yaml index 156f7443f7..e9766e39df 100644 --- a/samples/tasks/scenarios/nova/boot-and-rebuild.yaml +++ b/samples/tasks/scenarios/nova/boot-and-rebuild.yaml @@ -9,7 +9,7 @@ NovaServers.boot_and_rebuild_server: to_image: name: "^cirros.*uec$" runner: - type: constant + type: "constant" times: 5 concurrency: 2 context: diff --git a/samples/tasks/scenarios/nova/boot-server-attach-created-volume-and-live-migrate.yaml b/samples/tasks/scenarios/nova/boot-server-attach-created-volume-and-live-migrate.yaml index 0a27d103a8..3c8bc1daa0 100644 --- a/samples/tasks/scenarios/nova/boot-server-attach-created-volume-and-live-migrate.yaml +++ b/samples/tasks/scenarios/nova/boot-server-attach-created-volume-and-live-migrate.yaml @@ -9,7 +9,7 @@ NovaServers.boot_server_attach_created_volume_and_live_migrate: size: 10 block_migration: false runner: - type: constant + type: "constant" times: 5 concurrency: 1 context: diff --git a/samples/tasks/scenarios/nova/boot-server-from-volume-and-live-migrate.yaml b/samples/tasks/scenarios/nova/boot-server-from-volume-and-live-migrate.yaml index 51979d6f04..51d236b477 100644 --- a/samples/tasks/scenarios/nova/boot-server-from-volume-and-live-migrate.yaml +++ b/samples/tasks/scenarios/nova/boot-server-from-volume-and-live-migrate.yaml @@ -10,7 +10,7 @@ NovaServers.boot_server_from_volume_and_live_migrate: volume_size: 10 force_delete: false runner: - type: constant + type: "constant" times: 10 concurrency: 2 context: diff --git a/samples/tasks/scenarios/vm/boot_runcommand_delete_custom_image.yaml b/samples/tasks/scenarios/vm/boot_runcommand_delete_custom_image.yaml index f549e832c1..823655b05d 100644 --- a/samples/tasks/scenarios/vm/boot_runcommand_delete_custom_image.yaml +++ b/samples/tasks/scenarios/vm/boot_runcommand_delete_custom_image.yaml @@ -11,7 +11,7 @@ VMTasks.boot_runcommand_delete_custom_image: concurrency: 1 timeout: 3000 times: 1 - type: constant + type: "constant" context: image_command_customizer: command: