diff --git a/d2/src/test/java/com/linkedin/d2/xds/TestXdsToD2PropertiesAdaptor.java b/d2/src/test/java/com/linkedin/d2/xds/TestXdsToD2PropertiesAdaptor.java index 77a1232e95..d268536ba3 100644 --- a/d2/src/test/java/com/linkedin/d2/xds/TestXdsToD2PropertiesAdaptor.java +++ b/d2/src/test/java/com/linkedin/d2/xds/TestXdsToD2PropertiesAdaptor.java @@ -182,6 +182,7 @@ public void testURIPropertiesDeserialization() throws PropertySerializationExcep URI localhost = URI.create("https://localhost:8443"); XdsD2.D2URI uri = XdsD2.D2URI.newBuilder() .setVersion(DUMMY_VERSION) + .setUri(localhost.toString()) .setClusterName(PRIMARY_CLUSTER_NAME) .setUriSpecificProperties(Struct.newBuilder() .putFields("foo", Value.newBuilder().setStringValue("bar").build())