Skip to content

Commit

Permalink
test(storage): fix flaky grpc tests (#7057)
Browse files Browse the repository at this point in the history
Fixes #6910, #6963, #6859
  • Loading branch information
BrennaEpp committed Nov 17, 2022
1 parent caf8e78 commit df11d95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storage/integration_test.go
Expand Up @@ -610,7 +610,7 @@ func TestIntegration_BucketUpdate(t *testing.T) {
}

func TestIntegration_BucketPolicyOnly(t *testing.T) {
multiTransportTest(context.Background(), t, func(t *testing.T, ctx context.Context, _ string, prefix string, client *Client) {
multiTransportTest(skipGRPC("pending b/257354385 - add error to retry & add read mask to get object"), t, func(t *testing.T, ctx context.Context, _ string, prefix string, client *Client) {
h := testHelper{t}

bkt := client.Bucket(prefix + uidSpace.New())
Expand Down Expand Up @@ -692,7 +692,7 @@ func TestIntegration_BucketPolicyOnly(t *testing.T) {
}

func TestIntegration_UniformBucketLevelAccess(t *testing.T) {
multiTransportTest(context.Background(), t, func(t *testing.T, ctx context.Context, _ string, prefix string, client *Client) {
multiTransportTest(skipGRPC("pending b/257354385 - add error to retry & add read mask to get object"), t, func(t *testing.T, ctx context.Context, _ string, prefix string, client *Client) {
h := testHelper{t}
bkt := client.Bucket(prefix + uidSpace.New())
h.mustCreate(bkt, testutil.ProjID(), nil)
Expand Down Expand Up @@ -4062,7 +4062,7 @@ func TestIntegration_ReaderCancel(t *testing.T) {
bkt := client.Bucket(bucket)
obj := bkt.Object("reader-cancel-obj")

minObjectSize := 2500000 // 2.5 Mb
minObjectSize := 5000000 // 5 Mb

w := obj.NewWriter(ctx)
c := randomContents()
Expand Down

0 comments on commit df11d95

Please sign in to comment.