thanks very much !



------------------ ???????? ------------------
??????:                                                                         
                                               "dev"                            
                                                        <[email protected]&gt;;
????????:&nbsp;2022??4??16??(??????) ????4:26
??????:&nbsp;"dev"<[email protected]&gt;;

????:&nbsp;Re: `shenyu-integrated-test-motan` always runs failed



Hi folk,

Please update the config in `MotanPluginTest#setup`. [1]

For example :
```
"{\"register\":\"shenyu-zk:2181\",\"corethreads\":0,\"threads\":2147483647,\"queues\":0,\"threadpool\":\"cached\"}"
```

BTW, you can also add integration tests for the shared pool.

[1] 
https://github.com/apache/incubator-shenyu/blob/92f00e03e3fc38c987c4f539d1231da65806b396/shenyu-integrated-test/shenyu-integrated-test-motan/src/test/java/org/apache/shenyu/integrated/test/motan/MotanPluginTest.java#L39

&gt;
&gt; Hello community:
&gt;
&gt;
&gt; I encountered a problem after submitting PR[1] which supporting shared 
thread pool for motan plugin.
&gt;
&gt;
&gt; The problem is `shenyu-integrated-test-motan` always runs failed, 
and&amp;nbsp;PR [1] only adds logic related to thread pool creation.
&gt;
&gt;
&gt; If you are free, please see the PR[1] and help me to solve the problem.
&gt;
&gt;
&gt; By the way, I have tested the code in the following order:
&gt; 1. run `ShenyuAdminBootstrap` and enable `MotanPlugin`;
&gt; 2. run `TestMotanApplication`;
&gt; 3. run `ShenyuBootstrapApplication`;
&gt; 4. send post request:
&gt; GET http://localhost:9195/motan/hello
&gt; Accept: application/json
&gt; Content-Type: application/json
&gt;
&gt;
&gt; {
&gt; &amp;nbsp; "name": "order"
&gt; }
&gt;
&gt;
&gt;
&gt;
&gt; thanks.
&gt; dragon-zhang
&gt;
&gt;
&gt; [1] https://github.com/apache/incubator-shenyu/pull/3253

Reply via email to