mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
client: fix test
This commit is contained in:
parent
31395d257c
commit
1dcc145aef
@ -105,7 +105,7 @@ func TestV2KeysURLHelper(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetAction(t *testing.T) {
|
||||
ep := url.URL{Scheme: "http", Host: "example.com/v2/keys"}
|
||||
ep := url.URL{Scheme: "http", Host: "example.com", Path: "/v2/keys"}
|
||||
baseWantURL := &url.URL{
|
||||
Scheme: "http",
|
||||
Host: "example.com",
|
||||
@ -171,7 +171,7 @@ func TestGetAction(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestWaitAction(t *testing.T) {
|
||||
ep := url.URL{Scheme: "http", Host: "example.com/v2/keys"}
|
||||
ep := url.URL{Scheme: "http", Host: "example.com", Path: "/v2/keys"}
|
||||
baseWantURL := &url.URL{
|
||||
Scheme: "http",
|
||||
Host: "example.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user