diff --git a/clmctest/monitoring/E2ESim.py b/clmctest/monitoring/E2ESim.py index 86f9d6e5628874c8f1fb63d4250d037dca268e6f..12a44011dfd3ebef30af346259bfb1f6d108a9eb 100644 --- a/clmctest/monitoring/E2ESim.py +++ b/clmctest/monitoring/E2ESim.py @@ -130,7 +130,7 @@ class Simulator(object): sim_time += self.TICK end_time = sim_time - print("Start time: {0}, End time: {1}".format(start_time, end_time)) + print("Simulation finished. Start time: {0}, End time: {1}".format(start_time, end_time)) if __name__ == "__main__": diff --git a/clmctest/monitoring/test_e2eresults.py b/clmctest/monitoring/test_e2eresults.py index 7a5a8647d24fd3043c58a53adc0f9c61ff6fb304..fe73623d6ad1b01138de5835a09295ecdc63cba7 100644 --- a/clmctest/monitoring/test_e2eresults.py +++ b/clmctest/monitoring/test_e2eresults.py @@ -64,6 +64,9 @@ class TestE2ESimulation(object): {"time": "1970-01-01T00:00:00Z", "count_response_time": 24}), ('SELECT count(*) FROM "E2EMetrics"."autogen"."e2e_delays"', {"time": "1970-01-01T00:00:00Z", "count_D_path_F": 24, "count_D_path_R": 24, "count_D_service": 24}), + + ('SELECT mean(*) FROM "E2EMetrics"."autogen"."e2e_delays"', + {"time": "1970-01-01T00:00:00Z", "mean_D_path_F": 13.159722222222223, "mean_D_path_R": 3.256944444444444, "mean_D_service": 32.791666666666664}), ]) def test_simulation(self, influx_db, query, expected_result): """