Skip to content

Commit

Permalink
BUILD-6583: EslintBasedRulesTest fix matching pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
hedinasr committed Nov 4, 2024
1 parent 71ce5cd commit 39403ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ void should_log_memory_config() {
assertThat(buildResult.isSuccess()).isTrue();
assertThat(buildResult.getLogs()).contains("Configured Node.js --max-old-space-size=500000.");
var osMem = Pattern.compile(
".*Memory configuration: OS \\(\\d+ MB\\), Node.js \\(\\d+ MB\\)\\..*",
".*Memory configuration: OS \\(\\d+ MB\\), Docker \\(\\d+ MB\\), Node.js \\(\\d+ MB\\)\\..*",
Pattern.DOTALL
);
assertThat(buildResult.getLogs()).matches(osMem);
Expand Down

0 comments on commit 39403ee

Please sign in to comment.