@@ -54,8 +54,8 @@ propagates via the server and a second client sees the updated value.
5454``` pseudo
5555channel_name = "objects-lifecycle-" + random_id()
5656
57- client_a = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
58- client_b = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
57+ client_a = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
58+ client_b = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
5959
6060client_a.connect()
6161AWAIT_STATE client_a.connection.state == CONNECTED
@@ -105,8 +105,8 @@ on the server. Second client syncs and reads the counter value.
105105``` pseudo
106106channel_name = "objects-counter-create-" + random_id()
107107
108- client_a = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
109- client_b = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
108+ client_a = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
109+ client_b = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
110110
111111client_a.connect()
112112AWAIT_STATE client_a.connection.state == CONNECTED
@@ -152,8 +152,8 @@ The server applies the increment and propagates the updated value.
152152``` pseudo
153153channel_name = "objects-increment-" + random_id()
154154
155- client_a = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
156- client_b = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
155+ client_a = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
156+ client_b = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
157157
158158client_a.connect()
159159AWAIT_STATE client_a.connection.state == CONNECTED
@@ -204,8 +204,8 @@ Second client can navigate into the nested map.
204204``` pseudo
205205channel_name = "objects-map-create-" + random_id()
206206
207- client_a = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
208- client_b = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
207+ client_a = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
208+ client_b = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
209209
210210client_a.connect()
211211AWAIT_STATE client_a.connection.state == CONNECTED
@@ -254,7 +254,7 @@ after the sync sequence completes.
254254``` pseudo
255255channel_name = "objects-get-root-" + random_id()
256256
257- client = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
257+ client = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
258258client.connect()
259259AWAIT_STATE client.connection.state == CONNECTED
260260
@@ -302,7 +302,7 @@ provision_objects_via_rest(api_key, channel_name, [
302302
303303### Test Steps
304304``` pseudo
305- client = Realtime(options: { key: api_key, useBinaryProtocol: PROTOCOL == "msgpack" })
305+ client = Realtime(options: { key: api_key, endpoint: "nonprod:sandbox", autoConnect: false, useBinaryProtocol: PROTOCOL == "msgpack" })
306306client.connect()
307307AWAIT_STATE client.connection.state == CONNECTED
308308
0 commit comments