Skip to content

Conversation

@andoni-guzman
Copy link
Contributor

Sharding IO tests Amazon web services and Amazon web services 2 from Java PostCommit task
Looking to reduce JavaPostCommit task some test were split in different ones. This PR is for Amazon web services and Amazon web services 2 tests.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@asf-ci
Copy link

asf-ci commented Jun 10, 2022

Can one of the admins verify this patch?

3 similar comments
@asf-ci
Copy link

asf-ci commented Jun 10, 2022

Can one of the admins verify this patch?

@asf-ci
Copy link

asf-ci commented Jun 10, 2022

Can one of the admins verify this patch?

@asf-ci
Copy link

asf-ci commented Jun 10, 2022

Can one of the admins verify this patch?

@aromanenko-dev
Copy link
Contributor

R: @mosche

], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/amazon-web-services/.*$',
'^runners/direct-java/.*$',
Copy link
Member

Choose a reason for hiding this comment

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

Remove this trigger path too.

], // spotless checked in separate pre-commit
triggerPathPatterns: [
'^sdks/java/io/amazon-web-services2/.*$',
'^runners/direct-java/.*$',
Copy link
Member

Choose a reason for hiding this comment

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

We do not need to run these tests when the direct runner is modified, since these tests are not for checking the correctness of the direct runner. So should remove this trigger path.

@kennknowles
Copy link
Member

LGTM other than that. I do think it will be good to separate the tasks.

@andoni-guzman
Copy link
Contributor Author

Hi @kennknowles
I delete the trigger for direct runner. Please let me know if you want to separate the task and in how way you want it or if it's okay in this way.
Thank you!

…Amazon-web-services-2)-from-JavaPostCommit-task
build.gradle.kts Outdated
dependsOn(":sdks:java:io:google-cloud-platform:postCommit")
dependsOn(":sdks:java:io:amazon-web-services:integrationTest")
dependsOn(":sdks:java:io:amazon-web-services2:integrationTest")
dependsOn(":sdks:java:io:kinesis:integrationTest")
Copy link
Member

Choose a reason for hiding this comment

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

Why is this added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think is related to a merge conflict with other branch that is working in the tests. Let me talk about it with the team and do the changes.

@kennknowles
Copy link
Member

I suggest doing a git rebase origin/master and then force pushing to the PR.

@mosche
Copy link
Member

mosche commented Jun 16, 2022

@andoni-guzman wondering, should this be using the PostcommitJobBuilder, or is it intentional to have it as a precommit job from now on?

@kennknowles
Copy link
Member

Andoni & I talked about it, and I think since it only triggers when the IO itself is being modified, and it is pretty small, that it could be OK to be presubmit.

@kennknowles
Copy link
Member

I suppose the possible reason not to would be if iterating in the PR causes a lot of not-useful builds that create large cost on a real cloud. But I think it will be barely measurable difference

@andoni-guzman
Copy link
Contributor Author

Hi @kennknowles,
I think it's ready for review, let me know if something it's missing c:

@benEng benEng mentioned this pull request Jun 28, 2022
4 tasks
Copy link
Member

@kennknowles kennknowles left a comment

Choose a reason for hiding this comment

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

LGTM but needs yet another rebase since there is a conflict with master

@kennknowles kennknowles merged commit 85e8149 into apache:master Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants