wujimin created SCB-1164:
----------------------------

             Summary: support not restart process, but restart engine
                 Key: SCB-1164
                 URL: https://issues.apache.org/jira/browse/SCB-1164
             Project: Apache ServiceComb
          Issue Type: Task
          Components: Java-Chassis
            Reporter: wujimin


{code:java}
@RunWith(SpringRunner.class)
@DirtiesContext
@SpringBootTest(classes = TestMain.class, webEnvironment = DEFINED_PORT)
@ActiveProfiles("db-h1")
public class T1 {
}

@RunWith(SpringRunner.class)
@DirtiesContext
@SpringBootTest(classes = TestMain.class, webEnvironment = DEFINED_PORT)
@ActiveProfiles("db-h2")
public class T2 {
}{code}
T1/T2 relate to different profile, will restart ApplictionContext



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to