diff --git a/tests/main/refresh-core-with-hanging-configure-hook/task.yaml b/tests/main/refresh-core-with-hanging-configure-hook/task.yaml
index 1b2766a..543dbf3 100644
--- a/tests/main/refresh-core-with-hanging-configure-hook/task.yaml
+++ b/tests/main/refresh-core-with-hanging-configure-hook/task.yaml
@@ -40,4 +40,4 @@ execute: |
# in the environment
snap change $chg_id | MATCH ".*exceeded maximum runtime of 30s.*"
- journalctl -u snapd | MATCH "Reported hook failure from \"configure\" for snap \"core\" as.*"
+ journalctl -u snapd | MATCH "Reported hook failure from \"configure\" for snap \"core\" as.*" || journalctl -u snapd | MATCH "Cannot report hook failure: cannot upload error report,"