You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "wujimin (JIRA)" <ji...@apache.org> on 2019/02/22 15:08:01 UTC

[jira] [Created] (SCB-1164) support not restart process, but restart engine

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)