diff --git a/tests/benchmark/milvus_benchmark/metrics/models/metric.py b/tests/benchmark/milvus_benchmark/metrics/models/metric.py index f20596e04e..34d52040b8 100644 --- a/tests/benchmark/milvus_benchmark/metrics/models/metric.py +++ b/tests/benchmark/milvus_benchmark/metrics/models/metric.py @@ -30,6 +30,7 @@ class Metric(object): self.datetime = str(datetime.datetime.now()) def set_run_id(self): + # Get current time as run id, which uniquely identifies this test self.run_id = int(time.time()) def set_mode(self, mode):