Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #774 from devimc/topic/backport-1.10/protocols/fix…
Browse files Browse the repository at this point in the history
…Go1.13

protocols: fix client unit tests for go 1.13
  • Loading branch information
chavafg authored Apr 17, 2020
2 parents 9ecf1b6 + 8f11b13 commit 0103717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocols/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func TestNewAgentClient(t *testing.T) {
cliFunc(mockBadSchemeAddr, false, "Invalid scheme:")
cliFunc(mockBadVsockScheme, false, "Invalid vsock scheme:")
cliFunc(mockVsockBadCid, false, "Invalid vsock cid")
cliFunc(mockVsockBadPort, false, "Invalid vsock port")
cliFunc(mockVsockBadPort, false, "invalid port")
cliFunc(mockFakeVsockAddr, false, "context deadline exceeded")

// wait mock server to stop
Expand All @@ -153,7 +153,7 @@ func TestNewAgentClientWithYamux(t *testing.T) {
cliFunc(mockBadSchemeAddr, false, "Invalid scheme:")
cliFunc(mockBadVsockScheme, false, "Invalid vsock scheme:")
cliFunc(mockVsockBadCid, false, "Invalid vsock cid")
cliFunc(mockVsockBadPort, false, "Invalid vsock port")
cliFunc(mockVsockBadPort, false, "invalid port")
cliFunc(mockFakeVsockAddr, false, "context deadline exceeded")

// wait mock server to stop
Expand Down

0 comments on commit 0103717

Please sign in to comment.