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:09:00 UTC

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

     [ https://issues.apache.org/jira/browse/SCB-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wujimin updated SCB-1164:
-------------------------
    Description: 
{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

 

https://github.com/apache/servicecomb-java-chassis/issues/1100

  was:
{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


> 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
>            Priority: Major
>
> {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
>  
> https://github.com/apache/servicecomb-java-chassis/issues/1100



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