Skip to content
Snippets Groups Projects
Commit a6aa3207 authored by Nikolay Stanchev's avatar Nikolay Stanchev
Browse files

Added a one second delay between the start of the aggregator and the simulator

parent 3ab13630
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,8 @@ class TestE2ESimulation(object):
print("Starting aggregator...")
e2e_aggregator.start()
time.sleep(1)
print("Running simulation, please wait...")
e2e_simulator.run()
......@@ -66,7 +68,7 @@ class TestE2ESimulation(object):
"count_avg_request_size": 38, "count_avg_response_size": 38, "count_avg_bandwidth": 38}),
('SELECT mean(*) FROM "E2EMetrics"."autogen"."e2e_delays"',
{"time": "1970-01-01T00:00:00Z", "mean_delay_forward": 8.010964912280702, "mean_delay_reverse": 12.881578947368423, "mean_delay_service": 23.42105263157895,
{"time": "1970-01-01T00:00:00Z", "mean_delay_forward": 8.048245614035087, "mean_delay_reverse": 13.043859649122808, "mean_delay_service": 23.42105263157895,
'mean_avg_request_size': 10485760, 'mean_avg_response_size': 1024, 'mean_avg_bandwidth': 104857600}),
])
def test_simulation(self, influx_db, query, expected_result):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment