Skip to content

Commit 68c178b

Browse files
committed
test hostname
1 parent 82b2ad2 commit 68c178b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Tests/SparkConnectTests/RuntimeConfTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import Testing
2727
struct RuntimeConfTests {
2828
@Test
2929
func get() async throws {
30-
let client = SparkConnectClient(remote: "sc://localhost", user: "test")
30+
let client = SparkConnectClient(remote: "sc://spark", user: "test")
3131
_ = try await client.connect(UUID().uuidString)
3232
let conf = RuntimeConf(client)
3333

@@ -42,7 +42,7 @@ struct RuntimeConfTests {
4242

4343
@Test
4444
func set() async throws {
45-
let client = SparkConnectClient(remote: "sc://localhost", user: "test")
45+
let client = SparkConnectClient(remote: "sc://spark", user: "test")
4646
_ = try await client.connect(UUID().uuidString)
4747
let conf = RuntimeConf(client)
4848
try await conf.set("spark.test.key1", "value1")
@@ -52,7 +52,7 @@ struct RuntimeConfTests {
5252

5353
@Test
5454
func reset() async throws {
55-
let client = SparkConnectClient(remote: "sc://localhost", user: "test")
55+
let client = SparkConnectClient(remote: "sc://spark", user: "test")
5656
_ = try await client.connect(UUID().uuidString)
5757
let conf = RuntimeConf(client)
5858

@@ -73,7 +73,7 @@ struct RuntimeConfTests {
7373

7474
@Test
7575
func getAll() async throws {
76-
let client = SparkConnectClient(remote: "sc://localhost", user: "test")
76+
let client = SparkConnectClient(remote: "sc://spark", user: "test")
7777
_ = try await client.connect(UUID().uuidString)
7878
let conf = RuntimeConf(client)
7979
let map = try await conf.getAll()

Tests/SparkConnectTests/SparkConnectClientTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct SparkConnectClientTests {
4242

4343
@Test
4444
func connect() async throws {
45-
let client = SparkConnectClient(remote: "sc://localhost", user: "test")
45+
let client = SparkConnectClient(remote: "sc://spark", user: "test")
4646
let _ = try await client.connect(UUID().uuidString)
4747
await client.stop()
4848
}

0 commit comments

Comments
 (0)