Browse Source

integration: add want IDs to Errorf calls

Shawn Smith 10 years ago
parent
commit
7abbd31fcd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      integration/v3_grpc_test.go

+ 2 - 2
integration/v3_grpc_test.go

@@ -1223,7 +1223,7 @@ func TestV3LeaseCreateByID(t *testing.T) {
 		t.Errorf("could not create lease 1 (%v)", err)
 		t.Errorf("could not create lease 1 (%v)", err)
 	}
 	}
 	if lresp.ID != 1 {
 	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
 	// create duplicate fixed lease
@@ -1245,7 +1245,7 @@ func TestV3LeaseCreateByID(t *testing.T) {
 		t.Errorf("could not create lease 2 (%v)", err)
 		t.Errorf("could not create lease 2 (%v)", err)
 	}
 	}
 	if lresp.ID != 2 {
 	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)
 	}
 	}
 
 
 }
 }