mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: add want IDs to Errorf calls
This commit is contained in:
parent
e7f50d8444
commit
7abbd31fcd
@ -1223,7 +1223,7 @@ func TestV3LeaseCreateByID(t *testing.T) {
|
||||
t.Errorf("could not create lease 1 (%v)", err)
|
||||
}
|
||||
if lresp.ID != 1 {
|
||||
t.Errorf("got id %v, wanted id %v", lresp.ID)
|
||||
t.Errorf("got id %v, wanted id %v", lresp.ID, 1)
|
||||
}
|
||||
|
||||
// create duplicate fixed lease
|
||||
@ -1245,7 +1245,7 @@ func TestV3LeaseCreateByID(t *testing.T) {
|
||||
t.Errorf("could not create lease 2 (%v)", err)
|
||||
}
|
||||
if lresp.ID != 2 {
|
||||
t.Errorf("got id %v, wanted id %v", lresp.ID)
|
||||
t.Errorf("got id %v, wanted id %v", lresp.ID, 2)
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user