File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
grpc-spring-boot-starter-demo/src/test/java/org/lognet/springboot/grpc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212import java .util .concurrent .ExecutionException ;
1313
1414import static org .junit .Assert .assertTrue ;
15- import static org .springframework .boot .test .context .SpringBootTest .WebEnvironment .DEFINED_PORT ;
15+ import static org .springframework .boot .test .context .SpringBootTest .WebEnvironment .NONE ;
1616
1717/**
1818 * Created by alexf on 28-Jan-16.
1919 */
2020@ RunWith (SpringRunner .class )
21- @ SpringBootTest (classes = {DemoApp .class },webEnvironment = DEFINED_PORT
22- ,properties = {"spring.aop.proxy-target-class=true" }
21+ @ SpringBootTest (classes = {DemoApp .class },webEnvironment = NONE
22+ ,properties = {"spring.aop.proxy-target-class=true" , "grpc.port=6666" }
2323)
2424@ ActiveProfiles (profiles = {"aopTest" })
2525public class DemoAppTestAop {
You can’t perform that action at this time.
0 commit comments