Skip to content

Commit 60dd2b3

Browse files
committed
Fix test autoconfiguration
Signed-off-by: Dave Syer <david.syer@broadcom.com>
1 parent e86ef82 commit 60dd2b3

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

spring-grpc-test-spring-boot-autoconfigure/src/main/java/org/springframework/boot/grpc/test/autoconfigure/InProcessTransportContextCustomizerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private static class InProcessTransportContextCustomizer implements ContextCusto
6161
public void customizeContext(ConfigurableApplicationContext context,
6262
MergedContextConfiguration mergedContextConfiguration) {
6363
if (this.annotation == null
64-
|| !context.getEnvironment().getProperty(ENABLED_PROPERTY, Boolean.class, false)) {
64+
|| !context.getEnvironment().getProperty(ENABLED_PROPERTY, Boolean.class, true)) {
6565
return;
6666
}
6767
TestPropertyValues

spring-grpc-test-spring-boot-autoconfigure/src/main/resources/META-INF/spring/org.springframework.boot.grpc.test.autoconfigure.AutoConfigureInProcessTransport.imports renamed to spring-grpc-test-spring-boot-autoconfigure/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

File renamed without changes.

0 commit comments

Comments
 (0)