Skip to content

Commit 461c791

Browse files
committed
fix: unit tests failing due to default resolver being dns
1 parent 5b9e5d3 commit 461c791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clientconn_parsed_target_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
)
3535

3636
func (s) TestParsedTarget_Success_WithoutCustomDialer(t *testing.T) {
37-
defScheme := resolver.GetDefaultScheme()
37+
defScheme := "passthrough"
3838
tests := []struct {
3939
target string
4040
wantParsed resolver.Target
@@ -93,7 +93,7 @@ func (s) TestParsedTarget_Failure_WithoutCustomDialer(t *testing.T) {
9393
}
9494

9595
func (s) TestParsedTarget_WithCustomDialer(t *testing.T) {
96-
defScheme := resolver.GetDefaultScheme()
96+
defScheme := "passthrough"
9797
tests := []struct {
9898
target string
9999
wantParsed resolver.Target

0 commit comments

Comments
 (0)