chaoyli closed pull request #502: Fix parse es state failed in unit test
URL: https://github.com/apache/incubator-doris/pull/502
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/fe/src/test/resources/data/es/clusterstate1.json 
b/fe/src/test/resources/data/es/clusterstate1.json
index 333119f1..3473ae20 100644
--- a/fe/src/test/resources/data/es/clusterstate1.json
+++ b/fe/src/test/resources/data/es/clusterstate1.json
@@ -9,7 +9,9 @@
         "name": "ejy2E2s",
         "ephemeral_id": "HO-_F6BLSqedHuv7-yhkNQ",
         "transport_address": "192.168.0.1:9209",
-        "attributes": {}
+        "attributes": {
+         "thrift_port": "9210"
+       }
       }
     },
     "metadata": {
@@ -747,4 +749,4 @@
         ]
       }
     }
-  }
\ No newline at end of file
+  }
diff --git a/fe/src/test/resources/data/es/clusterstate2.json 
b/fe/src/test/resources/data/es/clusterstate2.json
index 80448656..a743c05a 100644
--- a/fe/src/test/resources/data/es/clusterstate2.json
+++ b/fe/src/test/resources/data/es/clusterstate2.json
@@ -9,7 +9,9 @@
         "name": "ejy2E2s",
         "ephemeral_id": "HO-_F6BLSqedHuv7-yhkNQ",
         "transport_address": "192.168.0.1:9209",
-        "attributes": {}
+        "attributes": {
+         "thrift_port": "9210"
+       }
       }
     },
     "metadata": {
@@ -717,4 +719,4 @@
         ]
       }
     }
-  }
\ No newline at end of file
+  }
diff --git a/fe/src/test/resources/data/es/clusterstate3.json 
b/fe/src/test/resources/data/es/clusterstate3.json
index 121149ad..6a0bdd18 100644
--- a/fe/src/test/resources/data/es/clusterstate3.json
+++ b/fe/src/test/resources/data/es/clusterstate3.json
@@ -9,7 +9,9 @@
         "name": "ejy2E2s",
         "ephemeral_id": "HO-_F6BLSqedHuv7-yhkNQ",
         "transport_address": "192.168.0.1:9209",
-        "attributes": {}
+        "attributes": {
+         "thrift_port": "9210"
+       }
       }
     },
     "metadata": {
@@ -742,4 +744,4 @@
         ]
       }
     }
-  }
\ No newline at end of file
+  }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to