[RNET-992] Add sync support for collections in mixed #3556
Merged
GitHub Actions / Results Unity Windows Mono_Net4
failed
Apr 9, 2024 in 0s
Results Unity Windows Mono_Net4 ❌
❌ TestResults.xml
6108 tests were completed in 551s with 5449 passed, 1 failed and 658 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.InstanceTests. | 52✔️ | 1❌ | 31s |
❌ Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.InstanceTests.
Realms.Tests.Database.InstanceTests
✔️ BeginWrite_CalledMultipleTimes_Throws
✔️ Compact_WhenInTransaction_ShouldThrow
✔️ Compact_WhenOpenOnDifferentThread_ShouldReturnFalse
✔️ Compact_WhenOpenOnSameThread_ShouldReturnTrue
✔️ Compact_WhenResultsAreOpen_ShouldReturnFalse
✔️ DeleteRealmFailsIfOpenSameThread
✔️ DeleteRealmWorksIfCalledMultipleTimes
✔️ DeleteRealmWorksIfClosed
✔️ DeleteRealmWorksIfFolderDoesntExist
✔️ Dispose_WhenCalledMultipletimes_ShouldNotInvalidateOtherInstances
✔️ Dispose_WhenOnDifferentThread_ShouldNotInvalidateOtherInstances
✔️ Dispose_WhenOnTheSameThread_ShouldNotInvalidateOtherInstances
✔️ Freeze_FreezesTheRealm
✔️ FrozenRealm_CannotSubscribeForNotifications
✔️ FrozenRealm_CannotWrite
✔️ FrozenRealm_DoesntUpdate
✔️ FrozenRealms_CanBeUsedAcrossThreads
❌ FrozenRealms_GetGarbageCollected
Realms.Exceptions.RealmInUseException : Cannot delete files of an open Realm: 'C:\Users\runneradmin\AppData\LocalLow\DefaultCompany\Tests_Unity\179dc56b-cf63-4289-9331-b6a08dac9605' is still in use.
✔️ FrozenRealms_ReuseParentSchemaAndMetadata
✔️ GetCachedInstancesSameThread
✔️ GetInstance_WhenDynamic_ReadsSchemaFromDisk
✔️ GetInstance_WhenDynamicAndDoesntExist_ReturnsEmptySchema
✔️ GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow
✔️ GetInstance_WhenReadonly_TreatsAdditionalTablesAsEmpty
✔️ GetInstance_WithManualSchema_CanReadAndWrite
✔️ GetInstance_WithMixOfManualAndTypedSchema_CanReadAndWrite
✔️ GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException
✔️ GetInstanceAsync_ExecutesMigrationsInBackground
✔️ GetInstanceShouldThrowWithBadPath
✔️ GetInstanceTest
✔️ GetInstanceWithJustFilenameTest
✔️ GetTwice_ReadOnlyInstance_DoesNotThrow
✔️ GetUniqueInstancesDifferentThreads
✔️ InstanceIsClosedByDispose
✔️ InstancesHaveDifferentHashes
✔️ IsInTransaction_WhenInvokedOnADifferentThread_Throws
✔️ Logger_ChangeLevel_ReflectedImmediately
✔️ ParallelOpen_DoesNotThrow
✔️ ReadOnlyInstance_ThrowsOnRefresh
✔️ Realm_Freeze_ReadOnly
✔️ Realm_Freeze_WhenFrozen_ReturnsSameInstance
✔️ Realm_HittingMaxNumberOfVersions_Throws
✔️ RealmChangedShouldFireForEveryInstance
✔️ RealmDispose_DisposesActiveTransaction
✔️ RealmObjectClassesOnlyAllowRealmObjects
✔️ RealmState_GetsGarbageCollected
✔️ RealmWithFrozenObjects_WhenDeleted_DoesNotThrow
✔️ RealmWithOneClassThrowsIfUseOther
✔️ RealmWithOneClassWritesDesiredClass
✔️ Transaction_PerformAction_WhenDisposed_Throws
✔️ TransactionStateIsCorrect
✔️ TransactionStateIsCorrectAsync
✔️ UsingDisposedRealm_ShouldThrowObjectDisposedException
Annotations
Check failure on line -1 in No path available
github-actions / Results Unity Windows Mono_Net4
Tests.Unity.Realm.Tests.dll.Realms.Tests.Database.InstanceTests. ► Realms.Tests.Database.InstanceTests ► FrozenRealms_GetGarbageCollected
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\179dc56b-cf63-4289-9331-b6a08dac9605' is still in use.
Raw output
at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <85dbd3cdf23249f6a780f56d297e32fa>:0
at Realms.SharedRealmHandle.DeleteFiles (System.String path) [0x00013] in <85dbd3cdf23249f6a780f56d297e32fa>:0
at Realms.Realm.DeleteRealm (Realms.RealmConfigurationBase configuration) [0x00011] in <85dbd3cdf23249f6a780f56d297e32fa>:0
at Realms.Tests.Database.InstanceTests.<FrozenRealms_GetGarbageCollected>b__43_0 () [0x00079] in <c18623ee14ea426596af20db10414556>:0
at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <85dbd3cdf23249f6a780f56d297e32fa>:0
at Realms.Tests.TestHelpers+<>c__DisplayClass33_0.<RunAsyncTest>b__0 () [0x00079] in <c18623ee14ea426596af20db10414556>:0
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <c18623ee14ea426596af20db10414556>:0
at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <c18623ee14ea426596af20db10414556>: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 <c18623ee14ea426596af20db10414556>:0
at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <c18623ee14ea426596af20db10414556>:0
at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <c18623ee14ea426596af20db10414556>:0
at Realms.Tests.Database.InstanceTests.FrozenRealms_GetGarbageCollected () [0x00000] in <c18623ee14ea426596af20db10414556>: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
Loading