Skip to content

Commit 3e34526

Browse files
committed
fix(add-debug): understand why cyclic dep is coming from
1 parent eb924b8 commit 3e34526

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: argus/client/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ def heartbeat(self, run_type: str, run_id: UUID) -> None:
212212
self.check_response(response)
213213

214214
def submit_results(self, result: GenericResultTable) -> None:
215+
LOGGER.info("Submitting results: %s", result.as_dict())
215216
response = self.post(
216217
endpoint=self.Routes.SUBMIT_RESULTS,
217218
location_params={"type": self.test_type, "id": str(self.run_id)},

Diff for: sdcm/utils/adaptive_timeouts/load_info_store.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,11 @@ class Meta:
276276
ColumnMetadata(name="end_time", unit="", type=ResultType.TEXT),
277277
]
278278

279+
end_time = results["end_time"].strftime('%H:%M:%S')
279280
table = AdaptiveTimeoutResultsTable()
280281
table.add_result(column="duration", row="#1", value=results['duration'], status=Status.UNSET)
281282
table.add_result(column="timeout", row="#1", value=results["timeout"], status=Status.UNSET)
282-
table.add_result(column="end_time", row="#1", value=results["end_time"], status=Status.UNSET)
283+
table.add_result(column="end_time", row="#1", value=end_time, status=Status.UNSET)
283284
submit_results_to_argus(argus_client, table)
284285

285286
def store(self, metrics: dict[str, Any], operation: str, duration: float, timeout: float,

0 commit comments

Comments
 (0)