enables gateway actuator for test

See gh-2525
This commit is contained in:
spencergibb
2022-02-17 17:49:43 -05:00
parent 25fb7475a7
commit 3b5aedbbf3

View File

@@ -53,7 +53,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
* @author Spencer Gibb
*/
@SpringBootTest(classes = { GatewaySampleApplicationTests.TestConfig.class }, webEnvironment = RANDOM_PORT,
properties = "management.server.port=${test.port}")
properties = { "management.endpoint.gateway.enabled=true", "management.server.port=${test.port}" })
public class GatewaySampleApplicationTests {
protected static int managementPort;