Skip to content

[BEAM-1332] Cleanup files after the tests end#1936

Closed
sb2nov wants to merge 2 commits intoapache:masterfrom
sb2nov:BEAM-1332-clean_files_after_snippet_test
Closed

[BEAM-1332] Cleanup files after the tests end#1936
sb2nov wants to merge 2 commits intoapache:masterfrom
sb2nov:BEAM-1332-clean_files_after_snippet_test

Conversation

@sb2nov
Copy link
Contributor

@sb2nov sb2nov commented Feb 7, 2017

Snippet tests don't clean up the temporary files that are created these changes should address that.

R: @aaltay PTAL

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

# real data.
beam.io.ReadFromText = SnippetsTest.DummyReadTransform
beam.io.WriteToText = SnippetsTest.DummyWriteTransform
self.files = []
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to call this temp_files? It is fine either way actually.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@aaltay
Copy link
Member

aaltay commented Feb 7, 2017

LGTM. Thank you for cleaning this.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7af0efd on sb2nov:BEAM-1332-clean_files_after_snippet_test into ** on apache:master**.

@asfbot
Copy link

asfbot commented Feb 7, 2017

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7af0efd on sb2nov:BEAM-1332-clean_files_after_snippet_test into ** on apache:master**.

@asfbot
Copy link

asfbot commented Feb 7, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/7147/
--none--

@asfgit asfgit closed this in 074031c Feb 7, 2017
@sb2nov sb2nov deleted the BEAM-1332-clean_files_after_snippet_test branch February 8, 2017 17:31
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.

4 participants