mirror of https://github.com/grpc/grpc-go.git
fix go vet in end2end test
This commit is contained in:
parent
467c1fdc83
commit
3d39290839
|
|
@ -496,7 +496,7 @@ func (te *test) startServer(ts testpb.TestServiceServer) {
|
|||
la := "localhost:0"
|
||||
switch te.e.network {
|
||||
case "unix":
|
||||
la = "/tmp/testsock" + fmt.Sprintf("%d", time.Now())
|
||||
la = "/tmp/testsock" + fmt.Sprintf("%d", time.Now().UnixNano())
|
||||
syscall.Unlink(la)
|
||||
}
|
||||
lis, err := net.Listen(te.e.network, la)
|
||||
|
|
|
|||
Loading…
Reference in New Issue