Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Fix SA reports in MT, an support operator strategies in MT #1168

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
another attempt
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
  • Loading branch information
vidaldid-rte committed Jan 9, 2025
commit 6fa67753c2e247c11f1e7acdf48efefef0071155
Original file line number Diff line number Diff line change
@@ -3747,7 +3747,7 @@ void multiComponentSaTest(int threadCount) throws IOException {
StringWriter sw = new StringWriter();
testReport.print(sw);
// Remove Windows EOL
String reportString = sw.toString().replaceAll("\\r\\n", "\\n");
String reportString = sw.toString().replaceAll("\\r\\n", "\n");

// TODO remove this debug trace
System.out.println("threadCount: " + threadCount);
@@ -3771,7 +3771,7 @@ void multiComponentSaTest(int threadCount) throws IOException {
" Outer loop ReactiveLimits\n" +
" AC load flow completed successfully (solverStatus=CONVERGED, outerloopStatus=STABLE)";
// Remove Windows EOL for comparison
assertTrue(reportString.contains(expected.replaceAll("\\r\\n", "\\n")));
assertTrue(reportString.contains(expected));
}

@ParameterizedTest