Skip to content

Commit

Permalink
WIP test against the lmars-dev cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Lewis Marshall <[email protected]>
  • Loading branch information
lmars committed Jul 30, 2024
1 parent 9eb3acf commit dc104b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ably/realtime_conn_spec_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func Test_RTN4a_ConnectionEventForStateChange(t *testing.T) {
t.Run(fmt.Sprintf("on %s", ably.ConnectionStateFailed), func(t *testing.T) {

options := []ably.ClientOption{
ably.WithEnvironment("sandbox"),
ably.WithEnvironment("lmars-dev"),
ably.WithAutoConnect(false),
ably.WithKey("made:up"),
}
Expand Down
2 changes: 1 addition & 1 deletion ably/rest_client_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ func postStats(app *ablytest.Sandbox, stats []*ably.Stats) error {
return fmt.Errorf("marshaling stats: %w", err)
}

req, err := http.NewRequest("POST", "https://sandbox-rest.ably.io/stats", bytes.NewReader(statsJSON))
req, err := http.NewRequest("POST", "https://lmars-dev-rest.ably.io/stats", bytes.NewReader(statsJSON))
if err != nil {
return fmt.Errorf("creating request: %w", err)
}
Expand Down
2 changes: 1 addition & 1 deletion ablytest/ablytest.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
var Timeout = 30 * time.Second
var NoBinaryProtocol bool
var DefaultLogLevel = ably.LogNone
var Environment = "sandbox"
var Environment = "lmars-dev"

func nonil(err ...error) error {
for _, err := range err {
Expand Down

0 comments on commit dc104b4

Please sign in to comment.