Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
dorin100 authored and dorin100 committed May 4, 2021
1 parent bb658b3 commit c6ccabe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .buildkite/sync_tests.yml
Expand Up @@ -10,4 +10,5 @@ steps:
queue: benchmark
artifact_paths:
- 'logfile.log'
- 'sync_tests/sync_tests_results.db'
- 'sync_tests/sync_tests_results.db'
- 'shelley_qa-config.json'
8 changes: 8 additions & 0 deletions sync_tests/sync_test.py
Expand Up @@ -271,6 +271,8 @@ def enable_cardano_node_resources_monitoring(node_config_filepah):

node_config_json["options"]["mapBackends"]["cardano.node.resources"] = ["KatipBK"]

print(f'cardano.node.resources: {node_config_json["options"]["mapBackends"]["cardano.node.resources"]}')


def set_node_socket_path_env_var():
if "windows" in platform.system().lower():
Expand Down Expand Up @@ -747,6 +749,12 @@ def main():
test_values_dict["ram_logs"] = json.dumps(ram_details_dict)
test_values_dict["cpu_logs"] = json.dumps(cpu_details_dict)

print("--------------------------------------------")
print(f"ram_details_dict: {ram_details_dict}")
print("--------------------------------------------")
print(f"cpu_details_dict: {cpu_details_dict}")
print("--------------------------------------------")

# Add the test values into the local copy of the database (to be pushed into sync tests repo)
print("Node sync test ended; Creating the `test_values_dict` dict with the test values")
print("++++++++++++++++++++++++++++++++++++++++++++++")
Expand Down
Binary file modified sync_tests/sync_tests_results.db
Binary file not shown.

0 comments on commit c6ccabe

Please sign in to comment.