Skip to content

Commit

Permalink
fix uint test
Browse files Browse the repository at this point in the history
  • Loading branch information
whalecold committed Jan 8, 2024
1 parent 0a0218c commit ee9f0cb
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion core/manager/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,23 @@ func TestResolveAddr(t *testing.T) {
want: "1.1.1.1",
},
{
desc: "not found",
desc: "make up svc",
host: "echoa.default.svc",
want: "1.1.1.1",
},
{
desc: "not found",
host: "echoa.default.svc.cluster",
want: "",
},
{
desc: "not found",
host: "echoa.default2",
want: "",
},
{
desc: "not found",
host: "echoc.default",
want: "",
},
}
Expand Down

0 comments on commit ee9f0cb

Please sign in to comment.