Make environment variables override values from .env.test

Closes #45252

Signed-off-by: stianst <stianst@gmail.com>
This commit is contained in:
Stian Thorgersen 2026-01-08 14:17:52 +01:00 committed by GitHub
parent 490815f1f0
commit 5b5fe813c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,7 +114,7 @@ public class Config {
Path envTestPath = currentPath.resolve(".env.test");
if (Files.isRegularFile(envTestPath)) {
try {
return new EnvConfigSource(ConfigSourceUtil.urlToMap(envTestPath.toUri().toURL()), 350);
return new EnvConfigSource(ConfigSourceUtil.urlToMap(envTestPath.toUri().toURL()), 296);
} catch (IOException e) {
throw new RuntimeException(e);
}