@@ -35,7 +35,7 @@ def test_prepare_memtier_benchmark_parameters():
3535        )
3636        assert  (
3737            benchmark_command_str 
38-             ==  'memtier_benchmark --port 12000 --server localhost -- json-out-file 1.json "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
38+             ==  'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost  "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
3939        )
4040        (_ , benchmark_command_str , _ ) =  prepare_memtier_benchmark_parameters (
4141            benchmark_config ["clientconfig" ],
@@ -55,7 +55,7 @@ def test_prepare_memtier_benchmark_parameters():
5555        )
5656        assert  (
5757            benchmark_command_str 
58-             ==  'memtier_benchmark --port 12000 --server localhost -- json-out-file 1.json "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time=5' 
58+             ==  'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost  "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time=5' 
5959        )
6060        oss_api_enabled  =  True 
6161        (_ , benchmark_command_str , _ ) =  prepare_memtier_benchmark_parameters (
@@ -69,7 +69,7 @@ def test_prepare_memtier_benchmark_parameters():
6969        )
7070        assert  (
7171            benchmark_command_str 
72-             ==  'memtier_benchmark --port 12000 --server localhost -- json-out-file 1.json --cluster-mode "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
72+             ==  'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost  --cluster-mode "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
7373        )
7474
7575        oss_api_enabled  =  False 
@@ -94,7 +94,7 @@ def test_prepare_memtier_benchmark_parameters():
9494        )
9595        assert  (
9696            benchmark_command_str 
97-             ==  'memtier_benchmark --port 12000 --server localhost -- json-out-file 1.json "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
97+             ==  'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost  "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
9898        )
9999
100100        tls_enabled  =  True 
@@ -113,7 +113,7 @@ def test_prepare_memtier_benchmark_parameters():
113113        )
114114        assert  (
115115            benchmark_command_str 
116-             ==  'memtier_benchmark --port 12000 --server localhost -- json-out-file 1.json --tls --tls-skip-verify "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
116+             ==  'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost  --tls --tls-skip-verify "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
117117        )
118118
119119        tls_skip_verify  =  False 
@@ -132,7 +132,7 @@ def test_prepare_memtier_benchmark_parameters():
132132        )
133133        assert  (
134134            benchmark_command_str 
135-             ==  'memtier_benchmark --port 12000 --server localhost -- json-out-file 1.json --tls "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
135+             ==  'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost  --tls "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
136136        )
137137
138138        tls_skip_verify  =  False 
@@ -153,7 +153,7 @@ def test_prepare_memtier_benchmark_parameters():
153153        )
154154        assert  (
155155            benchmark_command_str 
156-             ==  'memtier_benchmark --port 12000 --server localhost -- json-out-file 1.json --tls --cert cert.file --key key.file "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
156+             ==  'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost  --tls --cert cert.file --key key.file "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
157157        )
158158
159159        tls_cacert  =  "cacert.file" 
@@ -173,7 +173,7 @@ def test_prepare_memtier_benchmark_parameters():
173173        )
174174        assert  (
175175            benchmark_command_str 
176-             ==  'memtier_benchmark --port 12000 --server localhost -- json-out-file 1.json --tls --cert cert.file --key key.file --cacert cacert.file "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
176+             ==  'memtier_benchmark --json-out-file 1.json --port 12000 --server localhost  --tls --cert cert.file --key key.file --cacert cacert.file "--data-size" "100" --command "SETEX __key__ 10 __data__" --command-key-pattern="R" --command "SET __key__ __data__" --command-key-pattern="R" --command "GET __key__" --command-key-pattern="R" --command "DEL __key__" --command-key-pattern="R"  -c 50 -t 2 --hide-histogram --test-time 300' 
177177        )
178178
179179
@@ -265,7 +265,7 @@ def test_extract_testsuites():
265265            "--test-suites-folder" ,
266266            "./utils/tests/test_data/test-suites" ,
267267            "--tests-regex" ,
268-             ".*\.yml" ,
268+             r ".*\.yml"
269269        ]
270270    )
271271    tests  =  extract_testsuites (args )
0 commit comments