From 99ef473369a87138df75e2252a0456b8ecf440e9 Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Tue, 5 Nov 2024 13:30:21 -0500 Subject: [PATCH] update integ test dependency version --- feature/s3/transfermanager/pool.go | 4 ++-- service/internal/integrationtest/go.mod | 2 +- service/internal/integrationtest/go.sum | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/feature/s3/transfermanager/pool.go b/feature/s3/transfermanager/pool.go index a4a786e2357..a75e2a54673 100644 --- a/feature/s3/transfermanager/pool.go +++ b/feature/s3/transfermanager/pool.go @@ -27,7 +27,7 @@ func newDefaultSlicePool(sliceSize int64, capacity int) *defaultSlicePool { return p } -var errZeroCapacity = fmt.Errorf("get called on zero capacity pool") +var zeroCapacityErr = fmt.Errorf("get called on zero capacity pool") func (p *defaultSlicePool) Get(ctx context.Context) ([]byte, error) { select { @@ -40,7 +40,7 @@ func (p *defaultSlicePool) Get(ctx context.Context) ([]byte, error) { select { case bs, ok := <-p.slices: if !ok { - return nil, errZeroCapacity + return nil, zeroCapacityErr } return bs, nil case <-ctx.Done(): diff --git a/service/internal/integrationtest/go.mod b/service/internal/integrationtest/go.mod index f429c8b627a..0c918c3af93 100644 --- a/service/internal/integrationtest/go.mod +++ b/service/internal/integrationtest/go.mod @@ -4,7 +4,7 @@ require ( github.com/aws/aws-sdk-go-v2 v1.32.3 github.com/aws/aws-sdk-go-v2/config v1.28.1 github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.35 - github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v1.0.0 + github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager v0.1.0 github.com/aws/aws-sdk-go-v2/service/acm v1.30.3 github.com/aws/aws-sdk-go-v2/service/apigateway v1.27.3 github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.33.3 diff --git a/service/internal/integrationtest/go.sum b/service/internal/integrationtest/go.sum index 609e6296b2c..7c80ae776bc 100644 --- a/service/internal/integrationtest/go.sum +++ b/service/internal/integrationtest/go.sum @@ -1,7 +1,8 @@ github.com/aws/smithy-go v1.22.0 h1:uunKnWlcoL3zO7q+gG2Pk53joueEOsnNB28QdMsmiMM= github.com/aws/smithy-go v1.22.0/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= @@ -10,5 +11,6 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=