Skip to content

Commit

Permalink
PENG-2457 remove print line from the *test_aggregate_influx_measures_…
Browse files Browse the repository at this point in the history
…_success* unit test
  • Loading branch information
matheushent committed Dec 13, 2024
1 parent 3f0b6f1 commit ab37a46
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions jobbergate-agent/tests/jobbergate/test_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import pytest
import random
import time
from collections.abc import Callable
from datetime import datetime
from typing import cast, get_args
Expand Down Expand Up @@ -131,11 +130,7 @@ async def test_aggregate_influx_measures__success(
num_points_per_measurement, num_hosts, num_jobs, num_steps, num_tasks
)

start_time = time.monotonic()
aggregated_data = aggregate_influx_measures(iter(measures))
end_time = time.monotonic()

print(f"Aggregated {len(measures)} data points in {end_time - start_time:.5f} seconds")

for data_point in aggregated_data:
assert data_point in expected_aggregated_data
Expand Down

0 comments on commit ab37a46

Please sign in to comment.