You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Attila Zsolt Piros (Jira)" <ji...@apache.org> on 2021/03/18 16:05:00 UTC

[jira] [Created] (SPARK-34789) Introduce Jetty based construct for integration tests where HTTP(S) is used

Attila Zsolt Piros created SPARK-34789:
------------------------------------------

             Summary: Introduce Jetty based construct for integration tests where HTTP(S) is used
                 Key: SPARK-34789
                 URL: https://issues.apache.org/jira/browse/SPARK-34789
             Project: Spark
          Issue Type: Task
          Components: Tests
    Affects Versions: 3.2.0
            Reporter: Attila Zsolt Piros


This came up during https://github.com/apache/spark/pull/31877#discussion_r596831803.

Short summary: we have some tests where HTTP(S) is used to access files. The current solution uses github urls like "https://raw.githubusercontent.com/apache/spark/master/data/mllib/pagerank_data.txt".
This connects two Spark version in an unhealthy way like connecting the "master" branch which is moving part with the committed test code which is a non-moving (as it might be even released).
So this way a test running for an earlier version of Spark expects something (filename, content, path) from a the latter release and what is worse when the moving version is changed the earlier test will break. 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org