integration: add FailFast(false) to failing tests
This commit is contained in:

committed by
Gyu-Ho Lee

parent
129b271ff8
commit
6b7891d5f1
@ -572,7 +572,7 @@ func TestV3StorageQuotaAPI(t *testing.T) {
|
||||
|
||||
// test small put that fits in quota
|
||||
smallbuf := make([]byte, 512)
|
||||
if _, err := kvc.Put(context.TODO(), &pb.PutRequest{Key: key, Value: smallbuf}); err != nil {
|
||||
if _, err := kvc.Put(context.TODO(), &pb.PutRequest{Key: key, Value: smallbuf}, grpc.FailFast(false)); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@ -619,7 +619,7 @@ func TestV3StorageQuotaApply(t *testing.T) {
|
||||
|
||||
// test small put still works
|
||||
smallbuf := make([]byte, 1024)
|
||||
_, serr := kvc0.Put(context.TODO(), &pb.PutRequest{Key: key, Value: smallbuf})
|
||||
_, serr := kvc0.Put(context.TODO(), &pb.PutRequest{Key: key, Value: smallbuf}, grpc.FailFast(false))
|
||||
if serr != nil {
|
||||
t.Fatal(serr)
|
||||
}
|
||||
|
Reference in New Issue
Block a user