Skip to content

[TEST][SPARK-17569] Make the unit test added for SPARK-17569 work again #15203

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

Closed
wants to merge 1 commit into from

Conversation

brkyvz
Copy link
Contributor

@brkyvz brkyvz commented Sep 22, 2016

What changes were proposed in this pull request?

A PR was merged concurrently that made the unit test for PR #15122 not test anything anymore. This PR fixes the test.

How was this patch tested?

Changed line


from false to true and made sure the unit test failed.

@brkyvz
Copy link
Contributor Author

brkyvz commented Sep 22, 2016

cc @zsxwing

@zsxwing
Copy link
Member

zsxwing commented Sep 22, 2016

LGTM. Merging to master.

@SparkQA
Copy link

SparkQA commented Sep 22, 2016

Test build #65792 has finished for PR 15203 at commit 424103c.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@asfgit asfgit closed this in a166196 Sep 22, 2016
ghost pushed a commit to dbtsai/spark that referenced this pull request Sep 23, 2016
…amSource.FileEntry

## What changes were proposed in this pull request?

Avoid using -1 as the default batchId for FileStreamSource.FileEntry so that we can make sure not writing any FileEntry(..., batchId = -1) into the log. This also avoids people misusing it in future (apache#15203 is an example).

## How was this patch tested?

Jenkins.

Author: Shixiong Zhu <shixiong@databricks.com>

Closes apache#15206 from zsxwing/cleanup.
asfgit pushed a commit that referenced this pull request Sep 23, 2016
…amSource.FileEntry

## What changes were proposed in this pull request?

Avoid using -1 as the default batchId for FileStreamSource.FileEntry so that we can make sure not writing any FileEntry(..., batchId = -1) into the log. This also avoids people misusing it in future (#15203 is an example).

## How was this patch tested?

Jenkins.

Author: Shixiong Zhu <shixiong@databricks.com>

Closes #15206 from zsxwing/cleanup.

(cherry picked from commit 62ccf27)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
@brkyvz brkyvz deleted the fix-test branch February 3, 2019 20:54
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