56c40bec2c
Rally base job copies custom plugins to ~/.rally/plugins dir. This directory should be loaded automatically. Specifing the same dir via cli argument `--plugin-paths` leads to PluginWithSuchNameExists errors. Also, this patch extends rally-task-simple-job job to check that there are no issues related to loading plugins from ~/.rally/plugins dir Change-Id: I38adfe6868112d9f2919ccc08c0d40d0bc6b1d51
33 lines
819 B
YAML
33 lines
819 B
YAML
---
|
|
version: 2
|
|
title: Task for rally-task-simple-job
|
|
description: Testing just one cinder scenario to verify that rally-task-job works
|
|
subtasks:
|
|
-
|
|
title: CinderVolumes.create_volume tests
|
|
workloads:
|
|
-
|
|
scenario:
|
|
CinderVolumes.create_volume:
|
|
size: 1
|
|
runner:
|
|
constant:
|
|
times: 2
|
|
concurrency: 2
|
|
contexts:
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 2
|
|
-
|
|
title: Test a subtask with only one workload
|
|
description: Check that a fake plugin is loaded from ~/.rally/plugins dir
|
|
scenario:
|
|
FakePlugin.testplugin: {}
|
|
runner:
|
|
constant:
|
|
times: 4
|
|
concurrency: 4
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|