This patch fixes latest regression related to multithreaded netperf.
The nperf_num_parallel is converted to int() but when it is used while generating hash the controller fails with exception since only string is accepted. The patch converts the passed parameter value to string.
Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/Controller/Task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Controller/Task.py b/lnst/Controller/Task.py index 01aadab..db4ef9c 100644 --- a/lnst/Controller/Task.py +++ b/lnst/Controller/Task.py @@ -771,7 +771,7 @@ class PerfRepoResult(object): if skip: continue sha1.update(i[0]) - sha1.update(i[1]) + sha1.update(str(i[1])) return sha1.hexdigest()
class PerfRepoBaseline(object):