-
Notifications
You must be signed in to change notification settings - Fork 7
[SPARK-51495] Add Integration Test GitHub Action job with 4.0.0-preview2
#15
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
Conversation
9e0f786 to
f88457a
Compare
Integration Test GitHub Action job
| await spark.stop() | ||
| } | ||
|
|
||
| #if !os(Linux) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ignored on Linux environment due to the Swift library difference. Linux test coverage will be recovered later.
Please note that these pass on Mac.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it only for this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, only show related 3 tests.
| let conf = RuntimeConf(client) | ||
|
|
||
| #expect(try await conf.get("spark.app.name") == "Spark Connect server") | ||
| #expect(try await conf.get("spark.app.name") != nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes the test more robust.
| @Test | ||
| func conf() async throws { | ||
| let spark = try await SparkSession.builder.getOrCreate() | ||
| #expect(try await spark.conf.get("spark.app.name") == "Spark Connect server") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spark.app.name is covered already.
Integration Test GitHub Action jobIntegration Test GitHub Action job with 4.0.0-preview2
|
Could you review this when you have some time, @viirya ? |
|
Thank you, @viirya . Merged to main. |
What changes were proposed in this pull request?
This PR aims to add
Integration TestGitHub Action job.Why are the changes needed?
To provide a test coverage on at least Apache Spark
4.0.0-preview2. Since this is limited, we are going to upgrade to4.0.0when the Apache Spark 4.0.0 is available.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.