You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by al...@apache.org on 2023/05/15 09:20:10 UTC

[dubbo-samples] branch master updated: Set timeout for memory server test (#843)

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

albumenj 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 aaebed9d Set timeout for memory server test (#843)
aaebed9d is described below

commit aaebed9d900dea397e33f1fe7646cc14315df57a
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Mon May 15 17:20:01 2023 +0800

    Set timeout for memory server test (#843)
---
 .../src/main/java/org/apache/dubbo/samples/provider/Application.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/99-integration/dubbo-samples-memory-server/src/main/java/org/apache/dubbo/samples/provider/Application.java b/99-integration/dubbo-samples-memory-server/src/main/java/org/apache/dubbo/samples/provider/Application.java
index 0b7dfb9d..aaf9d79d 100644
--- a/99-integration/dubbo-samples-memory-server/src/main/java/org/apache/dubbo/samples/provider/Application.java
+++ b/99-integration/dubbo-samples-memory-server/src/main/java/org/apache/dubbo/samples/provider/Application.java
@@ -35,9 +35,11 @@ public class Application {
         ServiceConfig<GreetingsService> service = new ServiceConfig<>();
         service.setInterface(GreetingsService.class);
         service.setRef(new GreetingsServiceImpl());
+        service.setTimeout(60000);
         ServiceConfig<QosService> qosService = new ServiceConfig<>();
         qosService.setInterface(QosService.class);
         qosService.setRef(new QosServiceImpl());
+        qosService.setTimeout(60000);
         ApplicationConfig applicationConfig = new ApplicationConfig("first-dubbo-provider");
 
         DubboBootstrap dubboBootstrap = DubboBootstrap.getInstance()


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