RED-8670: integrate table inference from research #507
@ -539,6 +539,7 @@ public abstract class AbstractPersistenceServerServiceTest {
|
||||
|
||||
public void initialize(ConfigurableApplicationContext configurableApplicationContext) {
|
||||
|
||||
// any time the WebEnvironment is re-instantiated use a new port, as it sometimes leads to PortBindExceptions
|
||||
ConfigurableEnvironment environment = configurableApplicationContext.getEnvironment();
|
||||
int port = UniquePortFactory.getAndIncrement();
|
||||
TestPropertySourceUtils.addInlinedPropertiesToEnvironment(environment, "server.port=" + port);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user