Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move transfer manager v2 integration tests to within module #2987

Merged

Conversation

lucix-aws
Copy link
Contributor

As written, the service/internal/integrationtest package depends on the s3 transfer manager module for its newly-added integration tests (as it should) - but our release tooling won't let us disable releases for any module that other things depend on. Since we need to put feature/s3/transfermanager into main, with releases disabled (to cut beta tags) - we need to remove that dependency.

Integration tests still work:

[feat-transfer-manager-v2-moveintegtests:~/git/aws-sdk-go-v2/feature/s3/transfermanager]$ go test -tags integration ./... -count=1
?       github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager/internal/testing        [no test files]
?       github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager/types   [no test files]
ok      github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager 17.072s

@lucix-aws lucix-aws requested a review from a team as a code owner January 28, 2025 18:07
@@ -257,3 +266,159 @@ func testPutObject(t *testing.T, bucket string, testData putObjectTestData, opts
t.Errorf("expect %s, got %s", e, a)
}
}

const expressAZID = "usw2-az3"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we TODO to move these back to shared once we merge this back into main?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I'll let CI pass and then put that in

@@ -1,7 +1,7 @@
//go:build integration
// +build integration

package s3transfermanager
package transfermanager
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the rename required or just something we prefer?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required, this package is transfermanager

@lucix-aws lucix-aws merged commit 03ae5b7 into feat-transfer-manager-v2 Jan 28, 2025
11 checks passed
@lucix-aws lucix-aws deleted the feat-transfer-manager-v2-moveintegtests branch January 28, 2025 18:58
wty-Bryant pushed a commit that referenced this pull request Jan 30, 2025
move transfer manager v2 integration tests to within module
wty-Bryant pushed a commit that referenced this pull request Jan 31, 2025
move transfer manager v2 integration tests to within module

move putobject integ test to transfer manager module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants