Skip to content

Commit 0bede38

Browse files
fixing debugPrint on error of tests
1 parent df3ee81 commit 0bede38

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/tests_oss_simple_flow.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -634,12 +634,12 @@ def test_key_placeholder(env):
634634

635635
# benchmark.run() returns True if the return code of memtier_benchmark was 0
636636
memtier_ok = benchmark.run()
637-
debugPrintMemtierOnError(config, env, memtier_ok)
637+
debugPrintMemtierOnError(config, env)
638638

639639
master_nodes_connections = env.getOSSMasterNodesConnectionList()
640640
merged_command_stats = {'cmdstat_hset': {'calls': 0}}
641641
overall_request_count = agg_info_commandstats(master_nodes_connections, merged_command_stats)
642-
assert_minimum_memtier_outcomes(config, env, memtier_ok, merged_command_stats, overall_expected_request_count,
642+
assert_minimum_memtier_outcomes(config, env, memtier_ok, overall_expected_request_count,
643643
overall_request_count)
644644

645645

@@ -665,12 +665,12 @@ def test_key_placeholder_togetherwithdata(env):
665665

666666
# benchmark.run() returns True if the return code of memtier_benchmark was 0
667667
memtier_ok = benchmark.run()
668-
debugPrintMemtierOnError(config, env, memtier_ok)
668+
debugPrintMemtierOnError(config, env)
669669

670670
master_nodes_connections = env.getOSSMasterNodesConnectionList()
671671
merged_command_stats = {'cmdstat_hset': {'calls': 0}}
672672
overall_request_count = agg_info_commandstats(master_nodes_connections, merged_command_stats)
673-
assert_minimum_memtier_outcomes(config, env, memtier_ok, merged_command_stats, overall_expected_request_count,
673+
assert_minimum_memtier_outcomes(config, env, memtier_ok, overall_expected_request_count,
674674
overall_request_count)
675675

676676

@@ -853,7 +853,7 @@ def test_arbitrary_command_cache_miss_tracking(env):
853853

854854
# benchmark.run() returns True if the return code of memtier_benchmark was 0
855855
memtier_ok = benchmark.run()
856-
debugPrintMemtierOnError(config, env, memtier_ok)
856+
debugPrintMemtierOnError(config, env)
857857

858858
# Check that the JSON output includes hit/miss statistics for arbitrary commands
859859
json_filename = '{0}/mb.json'.format(config.results_dir)

0 commit comments

Comments
 (0)