Fix assert in e2e test
Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
parent
826bdb7e30
commit
f3e3b3c744
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ func getHostIP() net.IP {
|
|||
defer conn.Close()
|
||||
|
||||
localAddr, ok := conn.LocalAddr().(*net.UDPAddr)
|
||||
assert.False(ginkgo.GinkgoT(), ok, "unexpected type: %T", conn.LocalAddr())
|
||||
assert.True(ginkgo.GinkgoT(), ok, "unexpected type: %T", conn.LocalAddr())
|
||||
|
||||
return localAddr.IP
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue