You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by il...@apache.org on 2019/07/02 10:02:10 UTC

[dubbo-samples] branch master updated: make sure background process shutdown after the test finishes

This is an automated email from the ASF dual-hosted git repository.

iluo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 107d460  make sure background process shutdown after the test finishes
107d460 is described below

commit 107d46025ee7034b770622bec7734c5b603edba1
Author: Ian Luo <ia...@gmail.com>
AuthorDate: Tue Jul 2 18:00:41 2019 +0800

    make sure background process shutdown after the test finishes
---
 .../dubbo-samples-thrift-impl/pom.xml              | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/dubbo-samples-thrift/dubbo-samples-thrift-impl/pom.xml b/dubbo-samples-thrift/dubbo-samples-thrift-impl/pom.xml
index f8d94f9..a055da6 100644
--- a/dubbo-samples-thrift/dubbo-samples-thrift-impl/pom.xml
+++ b/dubbo-samples-thrift/dubbo-samples-thrift-impl/pom.xml
@@ -107,18 +107,20 @@
                                 <goals>
                                     <goal>exec</goal>
                                 </goals>
+                                <configuration>
+                                    <executable>java</executable>
+                                    <arguments>
+                                        <argument>-DDUBBO_IP_TO_REGISTRY=${dubbo-local-address}</argument>
+                                        <argument>-classpath</argument>
+                                        <classpath/>
+                                        <argument>${main-class}</argument>
+                                    </arguments>
+                                    <async>true</async>
+                                    <asyncDestroyOnShutdown>true</asyncDestroyOnShutdown>
+                                </configuration>
                             </execution>
                         </executions>
-                        <configuration>
-                            <executable>java</executable>
-                            <arguments>
-                                <argument>-DDUBBO_IP_TO_REGISTRY=${dubbo-local-address}</argument>
-                                <argument>-classpath</argument>
-                                <classpath/>
-                                <argument>${main-class}</argument>
-                            </arguments>
-                            <async>true</async>
-                        </configuration>
+
                     </plugin>
 
                     <plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org