Browse Source

Fix the benchmark job

This is a price to pay for using private API and not having unit tests :)

Change-Id: Ie400a73eb2036678ed9446e0b499301cc2b690dd
changes/98/828498/1
Dmitry Tantsur 4 months ago
parent
commit
1f509c5bde
  1. 2
      tools/benchmark/generate-statistics.py

2
tools/benchmark/generate-statistics.py

@ -116,6 +116,7 @@ def _assess_db_object_and_api_performance(mock_log, mock_request):
total_nodes = 0
res = node_api_controller._get_nodes_collection(
resource_url='nodes',
chassis_uuid=None,
instance_uuid=None,
associated=None,
@ -132,6 +133,7 @@ def _assess_db_object_and_api_performance(mock_log, mock_request):
print(" ** Getting nodes ** %s Elapsed: %s seconds." %
(total_nodes, _calculate_delta(start, time.time())))
res = node_api_controller._get_nodes_collection(
resource_url='nodes',
chassis_uuid=None,
instance_uuid=None,
associated=None,

Loading…
Cancel
Save