Skip to content

Commit b3c631f

Browse files
authored
Merge pull request #246 from axonivy/fix-mariadb-check
Fix mariadb false-positive check
2 parents f6cd0fe + 25f970e commit b3c631f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Jenkinsfile

+5
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ def assertIvyConsoleLog(example, message) {
219219

220220
def assertNoErrorOrWarnInIvyLog(example) {
221221
def log = getIvyConsoleLog(example)
222+
223+
// remove false-positive warnings for mariadb
224+
log = log.replace("WARN] (main) Error: 1049-42000:", "")
225+
log = log.replace("WARN] (System Database Creator Thread) Error: 1049-42000:", "")
226+
222227
if (log.contains("WARN") || log.contains("ERROR")) {
223228
throw new Exception("console log of ivy contains WARN/ERROR messages");
224229
}

0 commit comments

Comments
 (0)