Merge pull request #1080 from menghanl/travis_go18

add go1.8 to travis.yml
This commit is contained in:
MakMukhi
2017-02-23 16:04:25 -08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ go:
- 1.5.4 - 1.5.4
- 1.6.3 - 1.6.3
- 1.7 - 1.7
- 1.8
go_import_path: google.golang.org/grpc go_import_path: google.golang.org/grpc

View File

@ -496,7 +496,7 @@ func (te *test) startServer(ts testpb.TestServiceServer) {
la := "localhost:0" la := "localhost:0"
switch te.e.network { switch te.e.network {
case "unix": case "unix":
la = "/tmp/testsock" + fmt.Sprintf("%d", time.Now()) la = "/tmp/testsock" + fmt.Sprintf("%d", time.Now().UnixNano())
syscall.Unlink(la) syscall.Unlink(la)
} }
lis, err := net.Listen(te.e.network, la) lis, err := net.Listen(te.e.network, la)