Skip to content

Conversation

@felixcheung
Copy link
Member

@felixcheung felixcheung commented May 1, 2017

What changes were proposed in this pull request?

Add without param for timeout - will need this to submit a job that runs until stopped
Need this for 2.2

How was this patch tested?

manually, unit test

@SparkQA
Copy link

SparkQA commented May 1, 2017

Test build #76335 has finished for PR 17815 at commit a946837.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 1, 2017

Test build #76336 has finished for PR 17815 at commit ddf8caa.

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


stopQuery(q)
expect_true(awaitTermination(q, 1))
expect_error(awaitTermination(q), NA)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why will this generate an error ?

Copy link
Member Author

Choose a reason for hiding this comment

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

NA means expects no error ;)
yea, it's not very intuitive. There is no return value in this case, so just checking to make sure it doesn't throw an error

@shivaram
Copy link
Contributor

shivaram commented May 1, 2017

LGTM. Minor comment

asfgit pushed a commit that referenced this pull request May 1, 2017
## What changes were proposed in this pull request?

Add without param for timeout - will need this to submit a job that runs until stopped
Need this for 2.2

## How was this patch tested?

manually, unit test

Author: Felix Cheung <[email protected]>

Closes #17815 from felixcheung/rssawaitinfinite.

(cherry picked from commit a355b66)
Signed-off-by: Felix Cheung <[email protected]>
@asfgit asfgit closed this in a355b66 May 1, 2017
@felixcheung
Copy link
Member Author

merged to master/2.2
thanks for the review!

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