Skip to content

Improvements related to Remote MongoDB access #1385

Improvements related to Remote MongoDB access

Improvements related to Remote MongoDB access #1385

GitHub Actions / Results Unity Windows Mono_Net4 failed Nov 1, 2023 in 1s

Results Unity Windows Mono_Net4 ❌

Tests failed

❌ TestResults.xml

5901 tests were completed in 595s with 5347 passed, 1 failed and 553 skipped.

Test suite Passed Failed Skipped Time
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.RealmObjectTests. 31✔️ 1❌ 26s

❌ Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.RealmObjectTests.

Realms.Tests.Database.RealmObjectTests
  ✔️ FrozenObject_DoesntChange
  ✔️ FrozenObject_DoesntGetDeleted
  ❌ FrozenObject_GetsGarbageCollected
	Realms.Exceptions.RealmInUseException : Cannot delete files of an open Realm: 'C:\Users\runneradmin\AppData\LocalLow\DefaultCompany\Tests_Unity\dce42d36-c8b2-45b9-a334-9667469fd4e6' is still in use.
  ✔️ Realm_Add_InvokesOnManaged
  ✔️ Realm_Find_InvokesOnManaged
  ✔️ RealmObject_AddToRelatedList_InvokesOnManaged
  ✔️ RealmObject_Equals_ManagedSameInstance_NoPK
  ✔️ RealmObject_Equals_ManagedSameInstance_WithPK
  ✔️ RealmObject_Equals_UnmanagedDifferentInstance
  ✔️ RealmObject_Equals_WhenOtherIsNull_ReturnsFalse
  ✔️ RealmObject_Equals_WhenSameInstance_ReturnsTrue
  ✔️ RealmObject_EqualsADifferentType_ReturnsFalse
  ✔️ RealmObject_EqualsInvalidObject_WhenInvalid_ReturnsTrue
  ✔️ RealmObject_EqualsInvalidObject_WhenValid_ReturnsFalse
  ✔️ RealmObject_Freeze_DoesntModifyOriginal
  ✔️ RealmObject_Freeze_WhenFrozen_ReturnsSameInstance
  ✔️ RealmObject_Freeze_WhenObjectIsUnmanaged_Throws
  ✔️ RealmObject_GetHashCode_ChangesAfterAddingToRealm
  ✔️ RealmObject_GetHashCode_IsDifferentForDifferentObjects
  ✔️ RealmObject_GetHashCode_IsSameForEqualManagedObjects
  ✔️ RealmObject_GetHashCode_RemainsStableAfterDeletion
  ✔️ RealmObject_InitializedFields_GetCorrectValues
  ✔️ RealmObject_ObjectSchema_ReturnsValueWhenManagedAndUnmanaged
  ✔️ RealmObject_SetRelatedObject_InvokesOnManaged
  ✔️ RealmObject_ToString_WhenDeleted
  ✔️ RealmObject_ToString_WhenUnmanaged
  ✔️ RealmObject_ToString_WithoutPK
  ✔️ RealmObject_ToString_WithPK
  ✔️ RealmObject_WhenFrozen_FailsToSubscribeToNotifications
  ✔️ RealmObject_WhenThrowsBeforeInitializer_DoesNotCrash
  ✔️ RealmObjectEqualsCheck_WhenDeleted_ReturnsFalse
  ✔️ RealmResults_InvokesOnManaged

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Unity Windows Mono_Net4

Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.RealmObjectTests. ► Realms.Tests.Database.RealmObjectTests ► FrozenObject_GetsGarbageCollected

Failed test found in:
  TestResults.xml
Error:
  Realms.Exceptions.RealmInUseException : Cannot delete files of an open Realm: 'C:\Users\runneradmin\AppData\LocalLow\DefaultCompany\Tests_Unity\dce42d36-c8b2-45b9-a334-9667469fd4e6' is still in use.
Raw output
  at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <951a8638edf14597874034f54680b18c>:0 
  at Realms.SharedRealmHandle.DeleteFiles (System.String path) [0x00013] in <951a8638edf14597874034f54680b18c>:0 
  at Realms.Realm.DeleteRealm (Realms.RealmConfigurationBase configuration) [0x00011] in <951a8638edf14597874034f54680b18c>:0 
  at Realms.Tests.Database.RealmObjectTests.<FrozenObject_GetsGarbageCollected>b__14_0 () [0x00074] in <ac4f180dde1641ba942d231a566934ae>:0 
  at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <951a8638edf14597874034f54680b18c>:0 
  at Realms.Tests.TestHelpers+<>c__DisplayClass33_0.<RunAsyncTest>b__0 () [0x00079] in <ac4f180dde1641ba942d231a566934ae>:0 
  at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <ac4f180dde1641ba942d231a566934ae>:0 
  at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ac4f180dde1641ba942d231a566934ae>:0 
  at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <6073cf49ed704e958b8a66d540dea948>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <6073cf49ed704e958b8a66d540dea948>:0 
--- End of stack trace from previous location where exception was thrown ---

  at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <ac4f180dde1641ba942d231a566934ae>:0 
  at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ac4f180dde1641ba942d231a566934ae>:0 
  at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <ac4f180dde1641ba942d231a566934ae>:0 
  at Realms.Tests.Database.RealmObjectTests.FrozenObject_GetsGarbageCollected () [0x00000] in <ac4f180dde1641ba942d231a566934ae>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <6073cf49ed704e958b8a66d540dea948>:0