Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions private/protocol/restjson/build_bench_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build bench

package restjson_test

import (
Expand All @@ -15,7 +13,7 @@ import (
)

var (
elastictranscoderSvc *elastictranscoder.ElasticTranscoder
elastictranscoderSvc *elastictranscoder.Client
)

func TestMain(m *testing.M) {
Expand Down Expand Up @@ -119,7 +117,7 @@ func elastictranscoderCreateJobInput() *elastictranscoder.CreateJobInput {
Resolution: aws.String("Resolution"),
},
PipelineId: aws.String("Id"), // Required
Output: &elastictranscoder.CreateJobOutput{
Output: &elastictranscoder.CreateJobOutputResult{
AlbumArt: &elastictranscoder.JobAlbumArt{
Artwork: []elastictranscoder.Artwork{
{ // Required
Expand Down Expand Up @@ -212,7 +210,7 @@ func elastictranscoderCreateJobInput() *elastictranscoder.CreateJobInput {
},
},
OutputKeyPrefix: aws.String("Key"),
Outputs: []elastictranscoder.CreateJobOutput{
Outputs: []elastictranscoder.CreateJobOutputResult{
{ // Required
AlbumArt: &elastictranscoder.JobAlbumArt{
Artwork: []elastictranscoder.Artwork{
Expand Down
6 changes: 2 additions & 4 deletions private/protocol/restxml/build_bench_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build bench

package restxml_test

import (
Expand All @@ -20,8 +18,8 @@ import (
)

var (
cloudfrontSvc *cloudfront.CloudFront
s3Svc *s3.S3
cloudfrontSvc *cloudfront.Client
s3Svc *s3.Client
)

func TestMain(m *testing.M) {
Expand Down