Skip to content

Make websocket error logging exceptionally verbose #2349

Make websocket error logging exceptionally verbose

Make websocket error logging exceptionally verbose #2349

GitHub Actions / Results Code Coverage failed Oct 9, 2023 in 1s

Results Code Coverage ❌

Tests failed

❌ TestResults.Linux.xml

5712 tests were completed in 1502s with 5693 passed, 2 failed and 17 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges. 1✔️ 1❌ 6s
Realm.Tests.dll.Realms.Tests.Sync.SessionTests. 28✔️ 1❌ 1✖️ 227s

❌ Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges.

Realms.Tests.Sync.FlexibleSyncTests
  ✔️ Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges("abc")
  ❌ Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges(null)
	  Expected: 1
	  But was:  2
	

❌ Realm.Tests.dll.Realms.Tests.Sync.SessionTests.

Realms.Tests.Sync.SessionTests
  ✔️ Realm_GetSession_ShouldReturnSameObject
  ✔️ Realm_SyncSession_WhenLocalRealm_ShouldThrow
  ✔️ Realm_SyncSession_WhenSyncedRealm
  ✔️ Session_ClientResetDiscard_TriggersNotifications
  ✔️ Session_ConnectionState_FullFlow
  ✔️ Session_ConnectionState_Propageted_Within_Multiple_Sessions
  ✔️ Session_Equals_WhenDifferentRealm_ReturnsFalse
  ✔️ Session_Equals_WhenOtherIsNotASession_ReturnsFalse
  ✔️ Session_Equals_WhenSameRealm_ReturnsTrue
  ✔️ Session_GetHashCode_WhenDifferentRealm_ReturnsDiffernetValue
  ✔️ Session_GetHashCode_WhenSameRealm_ReturnsSameValue
  ✔️ Session_GetUser_GetApp_ReturnsMeaningfulValue
  ✔️ Session_NotificationToken_Freed_When_Close_Realm
  ✔️ Session_OnSessionError
  ✔️ Session_PermissionDenied_DoesntCrash
  ✔️ Session_PropertyChanged_FreedNotificationToken
  ✔️ Session_PropertyChanged_MultipleSubscribers
  ✔️ Session_Should_Free_Instance_With_No_PropertyChanged_Subscribers
  ✔️ Session_Should_Keep_Instance_Until_There_Are_Subscribers
  ✔️ Session_Should_Not_Free_Instance_With_PropertyChanged_Subscribers
  ✔️ Session_Start_IsIdempotent
  ✔️ Session_Start_ResumesSession
  ✔️ Session_Stop_IsIdempotent
  ✔️ Session_Stop_StopsSession
  ✔️ Session_WaitForDownload_CanBeCancelled
  ✔️ Session_WaitForDownload_WithCancelledToken
  ❌ Session_WaitForUpload_CanBeCancelled
	  Expected: less than 5
	  But was:  5
	
  ✔️ Session_WaitForUpload_WithCancelledToken
  ✔️ Session_WhenDisposed_MethodsThrow
  ✖️ SessionIntegrationTest_ClientResetHandlers_OutOfBoundArrayInsert_AddedToTail

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.FlexibleSyncTests.Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges. ► Realms.Tests.Sync.FlexibleSyncTests ► Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges(null)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: 1
    But was:  2
  
Raw output
   at Realms.Tests.Sync.FlexibleSyncTests.<>c__DisplayClass76_0.<<Results_Subscribe_FirstTimeOnly_DoesntWaitForChanges>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/FlexibleSyncTests.cs:line 2220
--- End of stack trace from previous location ---
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
   at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.SessionTests. ► Realms.Tests.Sync.SessionTests ► Session_WaitForUpload_CanBeCancelled

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: less than 5
    But was:  5
  
Raw output
   at Realms.Tests.Sync.SessionTests.<Session_WaitForUpload_CanBeCancelled>b__40_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SessionTests.cs:line 1344
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 70
   at Realms.Tests.TestHelpers.<>c__DisplayClass31_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 266
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)