Skip to content

Commit 60dd2b3

Browse files
committed
Fix test autoconfiguration
Signed-off-by: Dave Syer <[email protected]>
1 parent e86ef82 commit 60dd2b3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

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

0 commit comments

Comments
 (0)