ARTEMIS-3168 - fix test dependency on login.config system property being set

This commit is contained in:
Gary Tully 2022-12-02 13:21:45 +00:00
parent 2374bbcf2a
commit 5633de9cb0

View File

@ -139,6 +139,7 @@ public class KubernetesLoginModuleTest {
private Map<String, ?> getDefaultOptions() {
return Map.of(K8S_ROLE_FILE_PROP_NAME,
"k8s-roles.properties");
// java.security.auth.login.config not set to provide baseDir so configure full path
KubernetesLoginModuleTest.class.getClassLoader().getResource("k8s-roles.properties").getPath());
}
}