mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Fix JavaOptsScriptTest - regex update for Windows kc.home.dir path format (#39147)
Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
This commit is contained in:
parent
8778bff72c
commit
db6516c291
@ -129,7 +129,7 @@ public class JavaOptsScriptTest {
|
||||
void testKcHomeDirPathFormat(LaunchResult result) {
|
||||
String output = result.getOutput();
|
||||
assertThat(output, containsString("kc.home.dir="));
|
||||
assertThat(output, matchesPattern("(?s).*kc\\.home\\.dir=\"[A-Z]:/.*?/keycloak/quarkus/tests/integration/target/kc-tests/keycloak-\\d+\\.\\d+\\.\\d+.*?/bin/\\.\\.\".*"));
|
||||
assertThat(output, matchesPattern("(?s).*kc\\.home\\.dir=\"[A-Z]:/.*/target/kc-tests/keycloak-\\d+\\.\\d+\\.\\d+.*?/bin/\\.\\.\".*"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user