File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import GRPCProtobuf
2323import Synchronization
2424
2525/// Conceptually the remote spark session that communicates with the server
26- public actor Client {
26+ public actor SparkConnectClient {
2727 let clientType : String = " swift "
2828 let url : URL
2929 let host : String
Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ import Testing
2424
2525/// A test suite for `Client`
2626@Suite ( . serialized)
27- struct ClientTests {
27+ struct SparkConnectClientTests {
2828 @Test
2929 func createAndStop( ) async throws {
30- let client = Client ( remote: " sc://localhost " , user: " test " )
30+ let client = SparkConnectClient ( remote: " sc://localhost " , user: " test " )
3131 await client. stop ( )
3232 }
3333
3434 @Test
3535 func connectWithInvalidUUID( ) async throws {
36- let client = Client ( remote: " sc://localhost " , user: " test " )
36+ let client = SparkConnectClient ( remote: " sc://localhost " , user: " test " )
3737 try await #require( throws: SparkConnectError . InvalidSessionIDException) {
3838 let _ = try await client. connect ( " not-a-uuid-format " )
3939 }
@@ -42,7 +42,7 @@ struct ClientTests {
4242
4343 @Test
4444 func connect( ) async throws {
45- let client = Client ( remote: " sc://localhost " , user: " test " )
45+ let client = SparkConnectClient ( remote: " sc://localhost " , user: " test " )
4646 let _ = try await client. connect ( UUID ( ) . uuidString)
4747 await client. stop ( )
4848 }
You can’t perform that action at this time.
0 commit comments