Skip to content

Commit

Permalink
test for #249
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Furer committed Nov 3, 2021
1 parent c321231 commit d8c6541
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void consulPropertiesTest() {
ConsulServiceInstance consulServiceInstance = (ConsulServiceInstance) instances.get(0);
final Map<String, String> metadata = consulServiceInstance.getMetadata();
assertThat(metadata.get("secure"),Matchers.is(Boolean.FALSE.toString()));
assertThat(metadata.get("key1"),Matchers.is("value1"));
assertThat(consulServiceInstance.getTags(),Matchers.containsInAnyOrder("1","grpc=true","customTagName=A"));


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ spring:
- a
- b
instance-zone: zone1
metadata:
key1: value1

0 comments on commit d8c6541

Please sign in to comment.