diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2016-11-10 01:26:09 -0800 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2016-11-10 01:32:57 -0800 |
commit | 57f61d1654e520e9fd553de0a3819024267d5389 (patch) | |
tree | 293df58305d0ef3bba75e4d7b8d577358e8bdc89 /tests/unit/dispatcher | |
parent | e80a6484956de102d14b2b42349ac1e90510cd82 (diff) |
contexts/node: default to pod.yaml
We used to default to /etc/yardstick/nodes/pod.yaml but this was changed
Recently I got a weird error
2016-11-10 01:18:03,404 - INFO - yardstick.benchmark.contexts.node - Parsing pod file: /root/isb/yardstick/
[Errno 21] Is a directory: '/root/isb/yardstick/'
It looks like if file attr is not defined we default to self.file_path =
"" which leads to a path ending with a '/' which is a directory so we
get the weird Errno 21 error.
I think we want to default to pod.yaml in YARDSTICK_ROOT_PATH
JIRA: YARDSTICK-364
Change-Id: Iab1a2b935d1e380edc208af3ce4e4758e8424bfe
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/unit/dispatcher')
0 files changed, 0 insertions, 0 deletions