From 875e2d240d76b000c66f500b218c3a71c1042b89 Mon Sep 17 00:00:00 2001 From: David Zafman Date: Thu, 5 Jun 2014 18:26:47 -0700 Subject: [PATCH] rados: Add hit_set_list missing from possible op weights For the future help keep in sync with test/osd/TestRados.cc by listing in order of op_types in that code. Signed-off-by: David Zafman --- teuthology/task/rados.py | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/teuthology/task/rados.py b/teuthology/task/rados.py index aedbbc44e11be..d24797472a6cd 100644 --- a/teuthology/task/rados.py +++ b/teuthology/task/rados.py @@ -109,11 +109,25 @@ def task(ctx, config): '--max-stride-size', str(config.get('max_stride_size', object_size / 5)), '--max-seconds', str(config.get('max_seconds', 0)) ]) + # Parallel of the op_types in test/osd/TestRados.cc for field in [ - 'copy_from', 'is_dirty', 'undirty', 'cache_flush', - 'cache_try_flush', 'cache_evict', - 'snap_create', 'snap_remove', 'rollback', 'setattr', 'rmattr', - 'watch', 'append', + # read handled above + # write handled above + # delete handled above + "snap_create", + "snap_remove", + "rollback", + "setattr", + "rmattr", + "watch", + "copy_from", + "hit_set_list", + "is_dirty", + "undirty", + "cache_flush", + "cache_try_flush", + "cache_evict", + "append", ]: if field in op_weights: args.extend([ -- 2.39.5