From ef8205dba7688ab3165140de17275761f04623ad Mon Sep 17 00:00:00 2001 From: Serhii Vasheka Date: Wed, 18 Mar 2015 17:42:06 +0200 Subject: [PATCH] Add keystone create_and_delete_service scenario API covered services.create, services.delete Add unit test for _list_services Change-Id: I70be4d8a293ec9700a0c39aa07b1582789f155d3 --- rally-jobs/rally.yaml | 16 +++++++++++++--- .../keystone/create-and-delete-service.json | 16 ++++++++++++++++ .../keystone/create-and-delete-service.yaml | 11 +++++++++++ 3 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 samples/tasks/scenarios/keystone/create-and-delete-service.json create mode 100644 samples/tasks/scenarios/keystone/create-and-delete-service.yaml diff --git a/rally-jobs/rally.yaml b/rally-jobs/rally.yaml index 433bbb97..4a758334 100755 --- a/rally-jobs/rally.yaml +++ b/rally-jobs/rally.yaml @@ -98,6 +98,16 @@ failure_rate: max: 0 + KeystoneBasic.create_and_delete_service: + - + runner: + type: "constant" + times: 10 + concurrency: 5 + sla: + failure_rate: + max: 0 + CeilometerAlarms.create_alarm: - args: @@ -1453,9 +1463,9 @@ - args: flavor: - name: "m1.tiny" + name: "m1.tiny" image: - name: {{image_name}} + name: {{image_name}} runner: type: "constant" times: 3 @@ -1466,4 +1476,4 @@ users_per_tenant: 1 sla: failure_rate: - max: 0 + max: 0 \ No newline at end of file diff --git a/samples/tasks/scenarios/keystone/create-and-delete-service.json b/samples/tasks/scenarios/keystone/create-and-delete-service.json new file mode 100644 index 00000000..ce649e33 --- /dev/null +++ b/samples/tasks/scenarios/keystone/create-and-delete-service.json @@ -0,0 +1,16 @@ +{ + "KeystoneBasic.create_and_delete_service": [ + { + "args": { + "name": "Rally_test_service", + "service_type": "Really_test_type", + "description": "test_description" + }, + "runner": { + "type": "constant", + "times": 100, + "concurrency": 10 + } + } + ] +} \ No newline at end of file diff --git a/samples/tasks/scenarios/keystone/create-and-delete-service.yaml b/samples/tasks/scenarios/keystone/create-and-delete-service.yaml new file mode 100644 index 00000000..a1895262 --- /dev/null +++ b/samples/tasks/scenarios/keystone/create-and-delete-service.yaml @@ -0,0 +1,11 @@ +--- + KeystoneBasic.create_and_delete_service: + - + args: + name: "Rally_test_service" + service_type: "Really_test_type" + description: "test_description" + runner: + type: "constant" + times: 100 + concurrency: 10 \ No newline at end of file