Skip to content

Commit

Permalink
update its
Browse files Browse the repository at this point in the history
  • Loading branch information
saberduck committed Oct 17, 2023
1 parent 50966d2 commit e61a058
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ void should_log_memory_config() {
.setSourceEncoding("UTF-8")
.setSourceDirs(".")
.setProperty("sonar.javascript.node.maxspace", "500000")
.setProperty("sonar.javascript.node.debugMemory", "true")
.setDebugLogs(true)
.setProjectDir(projectDir);

var buildResult = orchestrator.executeBuild(build);
Expand All @@ -281,6 +283,7 @@ void should_log_memory_config() {
Pattern.DOTALL
);
assertThat(buildResult.getLogs()).matches(warn);
assertThat(buildResult.getLogs()).contains("used_heap_size");
}

@NotNull
Expand Down

0 comments on commit e61a058

Please sign in to comment.