Skip to content

Conversation

@vanzin
Copy link
Contributor

@vanzin vanzin commented Mar 27, 2018

These tests can fail with a timeout if the remote repos are not responding,
or slow. The tests don't need anything from those repos, so use an empty
ivy config file to avoid setting up the defaults.

The tests are passing reliably for me locally now, and failing more often
than not today without this change since http://dl.bintray.com/spark-packages/maven
doesn't seem to be loading from my machine.

These tests can fail with a timeout if the remote repos are not responding,
or slow. The tests don't need anything from those repos, so use an empty
ivy config file to avoid setting up the defaults.

The tests are passing reliably for me locally now, and failing more often
than not today without this change since http://dl.bintray.com/spark-packages/maven
doesn't seem to be loading from my machine.
@SparkQA
Copy link

SparkQA commented Mar 28, 2018

Test build #88637 has finished for PR 20916 at commit 617ed3d.

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

// Necessary to make ScalaTest 3.x interrupt a thread on the JVM like ScalaTest 2.2.x
implicit val defaultSignaler: Signaler = ThreadSignaler

private val emptyIvySettings = File.createTempFile("ivy", ".xml")
Copy link
Member

@HyukjinKwon HyukjinKwon Apr 2, 2018

Choose a reason for hiding this comment

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

@vanzin, do we need to delete this back after the tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not necessary to delete temp files in tests. They'll go away when you do a "clean".

Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

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

LGTM except one a nit(?) or question

Copy link
Contributor

@jiangxb1987 jiangxb1987 left a comment

Choose a reason for hiding this comment

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

LGTM

asfgit pushed a commit that referenced this pull request Apr 3, 2018
These tests can fail with a timeout if the remote repos are not responding,
or slow. The tests don't need anything from those repos, so use an empty
ivy config file to avoid setting up the defaults.

The tests are passing reliably for me locally now, and failing more often
than not today without this change since http://dl.bintray.com/spark-packages/maven
doesn't seem to be loading from my machine.

Author: Marcelo Vanzin <[email protected]>

Closes #20916 from vanzin/SPARK-19964.

(cherry picked from commit 441d0d0)
Signed-off-by: hyukjinkwon <[email protected]>
@HyukjinKwon
Copy link
Member

Merged to master and branch-2.3.

@asfgit asfgit closed this in 441d0d0 Apr 3, 2018
robert3005 pushed a commit to palantir/spark that referenced this pull request Apr 4, 2018
These tests can fail with a timeout if the remote repos are not responding,
or slow. The tests don't need anything from those repos, so use an empty
ivy config file to avoid setting up the defaults.

The tests are passing reliably for me locally now, and failing more often
than not today without this change since http://dl.bintray.com/spark-packages/maven
doesn't seem to be loading from my machine.

Author: Marcelo Vanzin <[email protected]>

Closes apache#20916 from vanzin/SPARK-19964.
mshtelma pushed a commit to mshtelma/spark that referenced this pull request Apr 5, 2018
These tests can fail with a timeout if the remote repos are not responding,
or slow. The tests don't need anything from those repos, so use an empty
ivy config file to avoid setting up the defaults.

The tests are passing reliably for me locally now, and failing more often
than not today without this change since http://dl.bintray.com/spark-packages/maven
doesn't seem to be loading from my machine.

Author: Marcelo Vanzin <[email protected]>

Closes apache#20916 from vanzin/SPARK-19964.
@vanzin vanzin deleted the SPARK-19964 branch April 9, 2018 21:03
peter-toth pushed a commit to peter-toth/spark that referenced this pull request Oct 6, 2018
These tests can fail with a timeout if the remote repos are not responding,
or slow. The tests don't need anything from those repos, so use an empty
ivy config file to avoid setting up the defaults.

The tests are passing reliably for me locally now, and failing more often
than not today without this change since http://dl.bintray.com/spark-packages/maven
doesn't seem to be loading from my machine.

Author: Marcelo Vanzin <[email protected]>

Closes apache#20916 from vanzin/SPARK-19964.

(cherry picked from commit 441d0d0)
Signed-off-by: hyukjinkwon <[email protected]>

Change-Id: Icf3562701b9108c9132745d8a8971a979d72da8c
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.

5 participants