You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by li...@apache.org on 2021/01/05 02:24:33 UTC
[dubbo-samples] branch master updated: fix consumer metadata
checking (#217)
This is an automated email from the ASF dual-hosted git repository.
liujun 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 bec0c0e fix consumer metadata checking (#217)
bec0c0e is described below
commit bec0c0e880d663a78b99b9e0d59ffc58f2494dc1
Author: gongdewei <ky...@qq.com>
AuthorDate: Tue Jan 5 10:24:25 2021 +0800
fix consumer metadata checking (#217)
---
.../apache/dubbo/samples/metadatareport/local/xml/MetadataIT.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-xml/src/test/java/org/apache/dubbo/samples/metadatareport/local/xml/MetadataIT.java b/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-xml/src/test/java/org/apache/dubbo/samples/metadatareport/local/xml/MetadataIT.java
index e533c3a..b253132 100644
--- a/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-xml/src/test/java/org/apache/dubbo/samples/metadatareport/local/xml/MetadataIT.java
+++ b/dubbo-samples-metadata-report/dubbo-samples-metadata-report-local-xml/src/test/java/org/apache/dubbo/samples/metadatareport/local/xml/MetadataIT.java
@@ -131,6 +131,12 @@ public class MetadataIT {
*/
@Test
public void testConsumerMetadata() throws Exception {
+ //wait for metadata async report finish
+ try {
+ Thread.sleep(1000);
+ } catch (InterruptedException e) {
+ }
+
String result = ZkUtil.getMetadata("/dubbo3", DemoService.class.getName(), CommonConstants.CONSUMER_SIDE,
"metadatareport-local-xml-consumer2");
Gson gson = new Gson();
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org