diff options
Diffstat (limited to 'yardstick/vTC/apexlake/experimental_framework/benchmarks/benchmark_base_class.py')
-rw-r--r-- | yardstick/vTC/apexlake/experimental_framework/benchmarks/benchmark_base_class.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yardstick/vTC/apexlake/experimental_framework/benchmarks/benchmark_base_class.py b/yardstick/vTC/apexlake/experimental_framework/benchmarks/benchmark_base_class.py index 41235635c..ac7fad88e 100644 --- a/yardstick/vTC/apexlake/experimental_framework/benchmarks/benchmark_base_class.py +++ b/yardstick/vTC/apexlake/experimental_framework/benchmarks/benchmark_base_class.py @@ -34,7 +34,8 @@ class BenchmarkBaseClass(object): params[param] = self.get_features()['default_values'][param] for param in self.get_features()['parameters']: - if params[param] not in \ + if param in self.get_features()['allowed_values'] and \ + params[param] not in \ (self.get_features())['allowed_values'][param]: raise ValueError('Value of parameter "' + param + '" is not allowed') |