File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
xds/src/test/java/io/grpc/xds Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2067,8 +2067,10 @@ public void matchHostName_trailingDot() {
20672067 // FQDN (trailing dot) is semantically equivalent to the relative form per RFC 1034 Section 3.1.
20682068 assertThat (XdsNameResolver .matchHostName ("foo.googleapis.com." , "foo.googleapis.com" )).isTrue ();
20692069 assertThat (XdsNameResolver .matchHostName ("foo.googleapis.com" , "foo.googleapis.com." )).isTrue ();
2070- assertThat (XdsNameResolver .matchHostName ("foo.googleapis.com." , "foo.googleapis.com." )).isTrue ();
2071- assertThat (XdsNameResolver .matchHostName ("bar.googleapis.com." , "foo.googleapis.com" )).isFalse ();
2070+ assertThat (XdsNameResolver .matchHostName ("foo.googleapis.com." , "foo.googleapis.com." ))
2071+ .isTrue ();
2072+ assertThat (XdsNameResolver .matchHostName ("bar.googleapis.com." , "foo.googleapis.com" ))
2073+ .isFalse ();
20722074
20732075 // Wildcard + trailing dot combinations.
20742076 String pattern = "*.foo.googleapis.com" ;
You can’t perform that action at this time.
0 commit comments