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

[SPARK-10680][Tests]Increase 'connectionTimeout' to make RequestTimeoutIntegrationSuite more stable #11833

Closed
wants to merge 1 commit into from

Conversation

zsxwing
Copy link
Member

@zsxwing zsxwing commented Mar 18, 2016

What changes were proposed in this pull request?

Increase 'connectionTimeout' to make RequestTimeoutIntegrationSuite more stable

How was this patch tested?

Existing unit tests

@zsxwing
Copy link
Member Author

zsxwing commented Mar 19, 2016

cc @yhuai

@@ -121,7 +121,7 @@ public StreamManager getStreamManager() {
// Second times out after 2 seconds, with slack. Must be IOException.
TestCallback callback1 = new TestCallback();
client.sendRpc(ByteBuffer.allocate(0), callback1);
callback1.latch.await(4, TimeUnit.SECONDS);
callback1.latch.await(60, TimeUnit.SECONDS);
Copy link
Contributor

Choose a reason for hiding this comment

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

Does the commend Second times out after 2 seconds, with slack. Must be IOException. mean anything to the value that we put at here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Right. Updated

@SparkQA
Copy link

SparkQA commented Mar 19, 2016

Test build #53573 has finished for PR 11833 at commit 868da8e.

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

@SparkQA
Copy link

SparkQA commented Mar 19, 2016

Test build #53618 has finished for PR 11833 at commit fcfd697.

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

@yhuai
Copy link
Contributor

yhuai commented Mar 19, 2016

LGTM. Merging to master.

@asfgit asfgit closed this in d630a20 Mar 19, 2016
@zsxwing zsxwing deleted the SPARK-10680 branch March 19, 2016 23:08
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
…outIntegrationSuite more stable

## What changes were proposed in this pull request?

Increase 'connectionTimeout' to make RequestTimeoutIntegrationSuite more stable

## How was this patch tested?

Existing unit tests

Author: Shixiong Zhu <shixiong@databricks.com>

Closes apache#11833 from zsxwing/SPARK-10680.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants