Skip to content

Commit 2ac18c5

Browse files
committed
fix: interpolate the timeouts
After going through the Sentry I've noticed we have missed (or it got reformatted) some f-strings, so the constants for timeouts were not interpolated into the log messages. Signed-off-by: Matej Focko <[email protected]>
1 parent b9d12a6 commit 2ac18c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/validation/testcase/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ async def check_pending_check_runs(self):
139139
watch_end = datetime.now(tz=timezone.utc) + timedelta(minutes=self.CHECK_TIME_FOR_REACTION)
140140
failure_message = (
141141
"Github check runs were not set to queued in time "
142-
"({self.CHECK_TIME_FOR_REACTION} minutes).\n"
142+
f"({self.CHECK_TIME_FOR_REACTION} minutes).\n"
143143
)
144144

145145
# when a new PR is opened
@@ -209,7 +209,7 @@ async def check_build_submitted(self):
209209
if datetime.now(tz=timezone.utc) > watch_end:
210210
self.failure_msg += (
211211
"The build was not submitted in Copr in time "
212-
"({self.CHECK_TIME_FOR_SUBMIT_BUILDS} minutes).\n"
212+
f"({self.CHECK_TIME_FOR_SUBMIT_BUILDS} minutes).\n"
213213
)
214214
return
215215

0 commit comments

Comments
 (0)