Skip to content

Commit 4863d47

Browse files
committed
Fix test script for Jenkins in Databricks.
## What changes were proposed in this pull request? This patch updates Spark's test script to point to the Databricks repository. ## How was this patch tested? This is a test infra change. Author: Reynold Xin <[email protected]> Closes apache#39 from rxin/rxin-spark-testing.
1 parent 3bf02b0 commit 4863d47

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dev/run-tests-jenkins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def print_err(msg):
3939
def post_message_to_github(msg, ghprb_pull_id):
4040
print("Attempting to post to Github...")
4141

42-
url = "https://api.github.com/repos/apache/spark/issues/" + ghprb_pull_id + "/comments"
42+
url = "https://api.github.com/repos/databricks/spark/issues/" + ghprb_pull_id + "/comments"
4343
github_oauth_key = os.environ["GITHUB_OAUTH_KEY"]
4444

4545
posted_message = json.dumps({"body": msg})
@@ -178,7 +178,7 @@ def main():
178178
build_display_name = os.environ["BUILD_DISPLAY_NAME"]
179179
build_url = os.environ["BUILD_URL"]
180180

181-
commit_url = "https://github.com/apache/spark/commit/" + ghprb_actual_commit
181+
commit_url = "https://github.com/databricks/spark/commit/" + ghprb_actual_commit
182182

183183
# GitHub doesn't auto-link short hashes when submitted via the API, unfortunately. :(
184184
short_commit_hash = ghprb_actual_commit[0:7]

dev/run-tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,11 @@ def get_hadoop_profiles(hadoop_version):
305305
"""
306306

307307
sbt_maven_hadoop_profiles = {
308-
"hadoop2.2": ["-Pyarn", "-Phadoop-2.2"],
309-
"hadoop2.3": ["-Pyarn", "-Phadoop-2.3"],
310-
"hadoop2.4": ["-Pyarn", "-Phadoop-2.4"],
311-
"hadoop2.6": ["-Pyarn", "-Phadoop-2.6"],
312-
"hadoop2.7": ["-Pyarn", "-Phadoop-2.7"],
308+
"hadoop2.2": ["-Phadoop-2.2"],
309+
"hadoop2.3": ["-Phadoop-2.3"],
310+
"hadoop2.4": ["-Phadoop-2.4"],
311+
"hadoop2.6": ["-Phadoop-2.6"],
312+
"hadoop2.7": ["-Phadoop-2.7"],
313313
}
314314

315315
if hadoop_version in sbt_maven_hadoop_profiles:

0 commit comments

Comments
 (0)