-
Notifications
You must be signed in to change notification settings - Fork 5
[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
@@ -81,6 +81,7 @@ struct DataFrameTests { | |||
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.
@@ -31,7 +31,7 @@ struct RuntimeConfTests { | |||
_ = try await client.connect(UUID().uuidString) | |||
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.
@@ -56,7 +56,6 @@ struct SparkSessionTests { | |||
@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 Test
GitHub 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.0
when 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.