I'm on a trip right now but can help when I get back Monday, I use withEnvironment all the time 👍
I think you might just need to set the correct override as the second argument to the withEnvironment call
06/11/2022, 6:51 PM
Happens when you try to use withEnvironment with JDK17. If you try it with lower java version it should work. I'm not sure if there's any workaround right now
06/11/2022, 9:57 PM
I think realistically the only "fix" is it not use env vars for this, but pass some variables in that you can then populate separately in tests.