diff --git a/do_tests b/do_tests
index b79256b2eefd00ebe05462f6e1b610a7ab4a75f4_ZG9fdGVzdHM=..ecb4eccf6917ec6dcd0926681700fa54bab43cc7_ZG9fdGVzdHM= 100755
--- a/do_tests
+++ b/do_tests
@@ -117,7 +117,7 @@
 fi
 criticals=$(grep ' CRITICAL' -F $logfile -c)
 # exclude ALTER COLUMN xxx set not null that are not real errors
-errors=$(grep ' ERROR' -F $logfile | grep -v "ALTER COLUMN \"\w*\" SET NOT NULL" -c)
+errors=$(grep ' ERROR' -F $logfile | grep -v "(ALTER COLUMN \"\w*\" SET NOT NULL|unable to set NOT NULL on column)" -c)
 warnings=$(grep ' WARNING' -F $logfile -c)
 if [[ $criticals -gt 0 ]];
 then