Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/languages/android/Tests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ServiceTest {

// reset configs
client.setProject("console")
.setEndpointRealtime("wss://cloud.appwrite.io/v1")
.setEndpointRealtime("wss://fra.stage.cloud.appwrite.io/v1")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Staging URL committed to test file

This replaces the production endpoint with a staging URL (wss://fra.stage.cloud.appwrite.io/v1). Test files in this repo should point to the canonical production endpoint; the staging server may be unavailable in CI, causing non-deterministic test failures for all contributors.

Suggested change
.setEndpointRealtime("wss://fra.stage.cloud.appwrite.io/v1")
.setEndpointRealtime("wss://cloud.appwrite.io/v1")


val foo = Foo(client)
val bar = Bar(client)
Expand Down
2 changes: 1 addition & 1 deletion tests/languages/apple/Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Tests: XCTestCase {

// reset configs
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Staging URL committed to test file

Same staging endpoint replacement as in the Android test. This should remain pointed at the production URL.

Suggested change
// reset configs
client.setEndpointRealtime("wss://cloud.appwrite.io/v1")

client.setProject("console")
client.setEndpointRealtime("wss://cloud.appwrite.io/v1")
client.setEndpointRealtime("wss://fra.stage.cloud.appwrite.io/v1")
client.setSelfSigned(false)

let foo = Foo(client)
Expand Down
2 changes: 1 addition & 1 deletion tests/languages/flutter/tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void main() async {

client.setSelfSigned();
client.setProject('console');
client.setEndPointRealtime("wss://cloud.appwrite.io/v1");
client.setEndPointRealtime("wss://fra.stage.cloud.appwrite.io/v1");
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Staging URL committed to test file

Same staging endpoint replacement. Revert to the production URL.

Suggested change
client.setEndPointRealtime("wss://fra.stage.cloud.appwrite.io/v1");
client.setEndPointRealtime("wss://cloud.appwrite.io/v1");


Realtime realtime = Realtime(client);
// Subscribe without queries
Expand Down
2 changes: 1 addition & 1 deletion tests/languages/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

// Realtime setup
client.setProject('console');
client.setEndpointRealtime('wss://cloud.appwrite.io/v1');
client.setEndpointRealtime('wss://fra.stage.cloud.appwrite.io/v1');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Staging URL committed to test file

Same staging endpoint replacement. Revert to the production URL.

Suggested change
client.setEndpointRealtime('wss://fra.stage.cloud.appwrite.io/v1');
client.setEndpointRealtime('wss://cloud.appwrite.io/v1');


const realtime = new Realtime(client);
const realtimeWithFailure = new Realtime(client);
Expand Down
Loading