From e67e9763f1bc568ad6e41af7819fec3615dd3728 Mon Sep 17 00:00:00 2001 From: Nikolay Stanchev <ns17@it-innovation.soton.ac.uk> Date: Mon, 9 Jul 2018 18:34:22 +0100 Subject: [PATCH] removed port number used for testing --- src/service/clmcservice/generate_network_measurements.py | 2 +- src/service/clmcservice/graphapi/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service/clmcservice/generate_network_measurements.py b/src/service/clmcservice/generate_network_measurements.py index 3b88cce..bf36f9d 100644 --- a/src/service/clmcservice/generate_network_measurements.py +++ b/src/service/clmcservice/generate_network_measurements.py @@ -36,7 +36,7 @@ def report_network_measurements(influx_host, db_name, json_data, neo4j_host, neo print("Writing network latency data to influx..\n") assert db_client.write_points(json_body) # assert the write method returns True - successful write - graph = Graph(host=neo4j_host, password=neo4j_password, port=11005) + graph = Graph(host=neo4j_host, password=neo4j_password) print("Building network links from the ping telegraf plugin in influx") compute_nodes = set([host for host, url, avg_ms, min_ms, max_ms in data]) diff --git a/src/service/clmcservice/graphapi/conftest.py b/src/service/clmcservice/graphapi/conftest.py index 5dfd3b7..7180db5 100644 --- a/src/service/clmcservice/graphapi/conftest.py +++ b/src/service/clmcservice/graphapi/conftest.py @@ -130,7 +130,7 @@ def db_testing_data(): test_db_name = "TestInfluxDB" influx = InfluxDBClient(host="localhost", port=8086, timeout=10) - graph = Graph(host="localhost", password="admin", port="11005") + graph = Graph(host="localhost", password="admin") graph.delete_all() dbs = influx.get_list_database() -- GitLab