diff options
author | Dmitry Tantsur <dtantsur@protonmail.com> | 2022-02-09 10:11:49 +0100 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2022-02-09 10:11:49 +0100 |
commit | 1f509c5bdea19d12b97c53f027795946204b6f25 (patch) | |
tree | 8e01c61db234280cd24bb89ffde236941bfa8165 | |
parent | a4a89d6b20a03e692e0550e3a34a97c7a63f266c (diff) | |
download | ironic-1f509c5bdea19d12b97c53f027795946204b6f25.tar.gz |
Fix the benchmark job
This is a price to pay for using private API and not having unit tests :)
Change-Id: Ie400a73eb2036678ed9446e0b499301cc2b690dd
-rw-r--r-- | tools/benchmark/generate-statistics.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/benchmark/generate-statistics.py b/tools/benchmark/generate-statistics.py index c6a7197c5..740c3be08 100644 --- a/tools/benchmark/generate-statistics.py +++ b/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, |