diff --git a/test/common/cdp-driver.js b/test/common/cdp-driver.js index 018fbe3ec73..006d1a1bb2e 100755 --- a/test/common/cdp-driver.js +++ b/test/common/cdp-driver.js @@ -83,8 +83,15 @@ function setupLogging(client) { if (details.exception && details.exception.className === "PhWaitCondTimeout") return; - unhandledExceptions.push(details) process.stderr.write(details.description || JSON.stringify(details) + "\n"); + + // ignore c3 crashes (https://github.com/c3js/c3/issues/2187) + if (details.exception && details.exception.description && + details.exception.description.indexOf("TypeError: Cannot read property 'data_types' of null") >= 0 && + details.exception.description.indexOf("/kubernetes.js") >= 0) + return; + + unhandledExceptions.push(details) }); client.Log.enable();