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

[BEAM-3652] Port WriteWithShardingFactoryTest off DoFnTester #6527

Merged
merged 1 commit into from
Oct 1, 2018

Conversation

niuk-a
Copy link
Contributor

@niuk-a niuk-a commented Oct 1, 2018

Hello @kennknowles. I see that it is you reported this task. Can you review my solution for it?

@kennknowles
Copy link
Member

Taking a look. Thanks!

@kennknowles kennknowles self-requested a review October 1, 2018 22:32
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.

Seems like a solid refactor.

@@ -163,74 +163,81 @@ public void withNoShardingSpecifiedReturnsNewTransform() {
}

@Test
public void keyBasedOnCountFnWithNoElements() throws Exception {
@Category(ValidatesRunner.class)
Copy link
Member

Choose a reason for hiding this comment

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

The category here should not be necessary. This is a specialized transform just for the DirectRunner so the runner should be hardcoded.

@kennknowles kennknowles merged commit f219bb1 into apache:master Oct 1, 2018
@niuk-a niuk-a deleted the BEAM-3652 branch October 2, 2018 07:29
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.

None yet

2 participants