Skip to content

RNET-1137: Fix progress notification (#3615) #2695

RNET-1137: Fix progress notification (#3615)

RNET-1137: Fix progress notification (#3615) #2695

GitHub Actions / Results .NET Framework failed Jun 25, 2024 in 1s

6145 passed, 2 failed and 25 skipped

Tests failed

❌ TestResults.xml

6172 tests were completed in 1267s with 6145 passed, 2 failed and 25 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.exe.Realms.Tests.Sync.SynchronizedInstanceTests. 15✅ 1❌ 3⚪ 68s
Realm.Tests.exe.Realms.Tests.Sync.UserManagementTests. 53✅ 1❌ 1⚪ 57s

❌ Realm.Tests.exe.Realms.Tests.Sync.SynchronizedInstanceTests.

Realms.Tests.Sync.SynchronizedInstanceTests
  ⚪ CancelAsyncOperationsOnNonFatalErrors_WhenFalse_ShouldNotCancelAsyncOperationsOnTimeout
  ⚪ CancelAsyncOperationsOnNonFatalErrors_WhenTrue_ShouldCancelAsyncOperationsOnTimeout
  ✅ DeleteRealmWorksIfCalledMultipleTimes
  ✅ EmbeddedObject_WhenAdditiveExplicit_ShouldThrow
  ✅ GetInstance_WhenDynamic_ReadsSchemaFromDisk
  ✅ GetInstance_WhenDynamicAndDoesntExist_ReturnsEmptySchema
  ✅ GetInstanceAsync_Cancel_ShouldCancelWait
  ✅ GetInstanceAsync_CreatesNonExistentRealm
  ✅ GetInstanceAsync_ReportsProgress
  ✅ GetInstanceAsync_WithOnProgress_DoesntThrowWhenOnProgressIsSetToNull
  ✅ GetInstanceAsync_WithOnProgressThrowing_ReportsErrorToLogs
  ⚪ InvalidSchemaChange_RaisesClientReset
  ✅ RealmDispose_ClosesSessions
  ❌ SyncLogger_WhenLevelChanges_LogsAtNewLevel
	at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass30_0.<<SyncLogger_WhenLevelChanges_LogsAtNewLevel>b__1>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 821
  ✅ SyncTimeouts_ArePassedCorrectlyToCore
  ✅ WriteCopy_FailsWithEmptyConfig
  ✅ WriteCopy_ThrowsWhenConvertingFromFLXToPBS
  ✅ WriteCopy_ThrowsWhenConvertingFromLocalToFLX
  ✅ WriteCopy_ThrowsWhenConvertingFromPBSToFLX

❌ Realm.Tests.exe.Realms.Tests.Sync.UserManagementTests.

Realms.Tests.Sync.UserManagementTests
  ✅ AppAllUsers_WhenThereAreNineUsers_ShouldReturnAllOfThem
  ✅ AppAllUsers_WhenThereAreNoUsers_ShouldReturnEmptyCollection
  ✅ AppAllUsers_WhenThereIsOneUser_ShouldReturnThatUser
  ✅ AppCurrentUser_WhenThereAreNoUsers_ShouldReturnNull
  ✅ AppCurrentUser_WhenThereIsMoreThanOneUser_ShouldReturnLastOne
  ✅ AppCurrentUser_WhenThereIsOneUser_ShouldReturnThatUser
  ✅ AppDeleteUserFromServer_RemovesUser
  ✅ AppRemoveUser_RemovesUser
  ✅ AppSwitchUser_SwitchesCurrentUser
  ✅ AppSwitchUser_WhenUserIsCurrent_DoesNothing
  ✅ AppSwitchUser_WhenUserIsNull_Throws
  ✅ EmailPasswordRegisterUser_Works
  ✅ User_CallResetPasswordFunctionAsync_ResetsUserPassword
  ✅ User_ConfirmUserAsync_ConfirmsUser
  ⚪ User_Facebook_LogsInAndReadsDataFromFacebook
  ✅ User_JWT_LogsInAndReadsDataFromToken
  ✅ User_LinkCredentials_AllowsLoginWithNewCredentials
  ✅ User_LinkCredentials_MultipleTimes_AllowsLoginWithAllCredentials
  ✅ User_LinkCredentials_MultipleTimesSameCredentials_IsNoOp
  ✅ User_LinkCredentials_WhenAnonymous_Throws
  ✅ User_LinkCredentials_WhenInUse_Throws
  ✅ User_LinkCredentials_WhenMultipleEmailPassword_Throws
  ✅ User_ResetPasswordAsync_ConfirmsResetPassword
  ✅ User_RetryCustomConfirmationAsync_RerunsConfirmation
  ❌ UserAnonymous_CombiningReuseAndNotReuse
	at Realms.Tests.Sync.UserManagementTests.<<UserAnonymous_CombiningReuseAndNotReuse>b__52_0>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\UserManagementTests.cs:line 1057
  ✅ UserApiKeys_CanLoginWithGeneratedKey
  ✅ UserApiKeys_CanLoginWithReenabledKey
  ✅ UserApiKeys_CantLoginWithDeletedKey
  ✅ UserApiKeys_CantLoginWithDisabledKey
  ✅ UserApiKeys_Create_CreatesApiKeyAndRevealsValue
  ✅ UserApiKeys_Create_WithInvalidName_Throws
  ✅ UserApiKeys_DeleteKey_WithExistingId
  ✅ UserApiKeys_DeleteKey_WithNonExistingId
  ✅ UserApiKeys_Disable_DisablesKey
  ✅ UserApiKeys_DisableApiKey_WhenDisabled_IsNoOp
  ✅ UserApiKeys_DisableApiKey_WhenNonExistent_Throws
  ✅ UserApiKeys_Enable_ReenablesKey
  ✅ UserApiKeys_EnableApiKey_WhenEnabled_IsNoOp
  ✅ UserApiKeys_EnableApiKey_WhenNonExistent_Throws
  ✅ UserApiKeys_Fetch_WhenIdDoesntMatch_ReturnsNull
  ✅ UserApiKeys_Fetch_WhenIdMatches_ReturnsKey
  ✅ UserApiKeys_Fetch_WhenNoneExist_ReturnsNull
  ✅ UserApiKeys_FetchAll_WithMultipleKeys
  ✅ UserApiKeys_FetchAll_WithNoKeys
  ✅ UserApiKeys_FetchAll_WithOneKey
  ✅ UserChanged_DoesntKeepObjectAlive
  ✅ UserCustomData
  ✅ UserCustomData_Generic
  ✅ UserCustomData_Generic_ReadsFromAccessToken
  ✅ UserCustomData_ReadsFromAccessToken
  ✅ UserCustomData_WhenEmpty_ReturnsNull
  ✅ UserCustomDataChange_RaisesChanged
  ✅ UserEqualsOverrides
  ✅ UserLogOut_RaisesChanged
  ✅ UserToStringOverride

Annotations

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results .NET Framework

Realm.Tests.exe.Realms.Tests.Sync.SynchronizedInstanceTests. ► Realms.Tests.Sync.SynchronizedInstanceTests ► SyncLogger_WhenLevelChanges_LogsAtNewLevel

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass30_0.<<SyncLogger_WhenLevelChanges_LogsAtNewLevel>b__1>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 821
Raw output
   at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass30_0.<<SyncLogger_WhenLevelChanges_LogsAtNewLevel>b__1>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 821
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at TaskExtensions.<Timeout>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\TestHelpers.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SyncTestHelpers.cs:line 88

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results .NET Framework

Realm.Tests.exe.Realms.Tests.Sync.UserManagementTests. ► Realms.Tests.Sync.UserManagementTests ► UserAnonymous_CombiningReuseAndNotReuse

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Sync.UserManagementTests.<<UserAnonymous_CombiningReuseAndNotReuse>b__52_0>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\UserManagementTests.cs:line 1057
Raw output
   at Realms.Tests.Sync.UserManagementTests.<<UserAnonymous_CombiningReuseAndNotReuse>b__52_0>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\UserManagementTests.cs:line 1057
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at TaskExtensions.<Timeout>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\TestHelpers.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SyncTestHelpers.cs:line 88