RNET-1159: Flexible-schema POC #292
5509 passed, 6 failed and 637 skipped
❌ TestResults.xml_transformed.xml
6152 tests were completed in 412s with 5509 passed, 6 failed and 637 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. | 52✅ | 2❌ | 10s | |
Realm.Tests.dll.Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize. | 2✅ | 2❌ | 4s | |
Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize. | 2✅ | 2❌ | 2s |
❌ 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
✅ Compact_WhenShouldDeleteIfMigrationNeeded_PreservesObjects
✅ 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
✅ FrozenRealms_ReuseParentSchemaAndMetadata
✅ GetCachedInstancesSameThread
✅ GetInstance_WhenDynamic_ReadsSchemaFromDisk
✅ GetInstance_WhenDynamicAndDoesntExist_ReturnsEmptySchema
✅ GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow
✅ GetInstance_WhenReadonly_TreatsAdditionalTablesAsEmpty
❌ GetInstance_WithManualSchema_CanReadAndWrite
at Realms.Tests.Database.InstanceTests.<>c__DisplayClass49_0.<GetInstance_WithManualSchema_CanReadAndWrite>b__0()
✅ GetInstance_WithMixOfManualAndTypedSchema_CanReadAndWrite
❌ GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException
at Realms.Tests.Database.InstanceTests.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
❌ Realm.Tests.dll.Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize.
Realms.Tests.Database.InstanceTests
✅ Compact_ShouldReduceSize(False,True)
✅ Compact_ShouldReduceSize(False,False)
❌ Compact_ShouldReduceSize(True,True)
at Realms.NativeException.ThrowIfNecessary()
❌ Compact_ShouldReduceSize(True,False)
at Realms.NativeException.ThrowIfNecessary()
❌ Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize.
Realms.Tests.Sync.SynchronizedInstanceTests
❌ Compact_ShouldReduceSize(True,True)
at Realms.NativeException.ThrowIfNecessary()
❌ Compact_ShouldReduceSize(True,False)
at Realms.NativeException.ThrowIfNecessary()
✅ Compact_ShouldReduceSize(False,True)
✅ Compact_ShouldReduceSize(False,False)
Annotations
Check failure on line 0 in TestResults.xml_transformed.xml
github-actions / Results Maui.MacCatalyst
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. ► Realms.Tests.Database.InstanceTests ► GetInstance_WithManualSchema_CanReadAndWrite
Failed test found in:
TestResults.xml_transformed.xml
Error:
at Realms.Tests.Database.InstanceTests.<>c__DisplayClass49_0.<GetInstance_WithManualSchema_CanReadAndWrite>b__0()
Raw output
at Realms.Tests.Database.InstanceTests.<>c__DisplayClass49_0.<GetInstance_WithManualSchema_CanReadAndWrite>b__0()
at Realms.Realm.<>c__DisplayClass68_0.<Write>b__0()
at Realms.Realm.Write[Boolean](Func`1 function)
at Realms.Realm.Write(Action action)
at Realms.Tests.Database.InstanceTests.GetInstance_WithManualSchema_CanReadAndWrite()
Check failure on line 0 in TestResults.xml_transformed.xml
github-actions / Results Maui.MacCatalyst
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. ► Realms.Tests.Database.InstanceTests ► GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException
Failed test found in:
TestResults.xml_transformed.xml
Error:
at Realms.Tests.Database.InstanceTests.GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException()
Raw output
at Realms.Tests.Database.InstanceTests.GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException()
Check failure on line 0 in TestResults.xml_transformed.xml
github-actions / Results Maui.MacCatalyst
Realm.Tests.dll.Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize. ► Realms.Tests.Database.InstanceTests ► Compact_ShouldReduceSize(True,True)
Failed test found in:
TestResults.xml_transformed.xml
Error:
at Realms.NativeException.ThrowIfNecessary()
Raw output
at Realms.NativeException.ThrowIfNecessary()
at Realms.SharedRealmHandle.Open(Configuration configuration)
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Realm.GetInstance(RealmConfigurationBase config)
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config)
at Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize(Boolean encrypt, Boolean populate)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object , Span`1 , BindingFlags )
Check failure on line 0 in TestResults.xml_transformed.xml
github-actions / Results Maui.MacCatalyst
Realm.Tests.dll.Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize. ► Realms.Tests.Database.InstanceTests ► Compact_ShouldReduceSize(True,False)
Failed test found in:
TestResults.xml_transformed.xml
Error:
at Realms.NativeException.ThrowIfNecessary()
Raw output
at Realms.NativeException.ThrowIfNecessary()
at Realms.SharedRealmHandle.Open(Configuration configuration)
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Realm.GetInstance(RealmConfigurationBase config)
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config)
at Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize(Boolean encrypt, Boolean populate)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object , Span`1 , BindingFlags )
Check failure on line 0 in TestResults.xml_transformed.xml
github-actions / Results Maui.MacCatalyst
Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize. ► Realms.Tests.Sync.SynchronizedInstanceTests ► Compact_ShouldReduceSize(True,True)
Failed test found in:
TestResults.xml_transformed.xml
Error:
at Realms.NativeException.ThrowIfNecessary()
Raw output
at Realms.NativeException.ThrowIfNecessary()
at Realms.SharedRealmHandle.OpenWithSync(Configuration configuration, SyncConfiguration syncConfiguration)
at Realms.Sync.SyncConfigurationBase.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Realm.GetInstance(RealmConfigurationBase config)
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config)
at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass2_0.<<Compact_ShouldReduceSize>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.TestHelpers.RunAsyncTest(Func`1 testFunc, Int32 timeout, Task errorTask)
at Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize(Boolean encrypt, Boolean populate)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object , Span`1 , BindingFlags )
Check failure on line 0 in TestResults.xml_transformed.xml
github-actions / Results Maui.MacCatalyst
Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize. ► Realms.Tests.Sync.SynchronizedInstanceTests ► Compact_ShouldReduceSize(True,False)
Failed test found in:
TestResults.xml_transformed.xml
Error:
at Realms.NativeException.ThrowIfNecessary()
Raw output
at Realms.NativeException.ThrowIfNecessary()
at Realms.SharedRealmHandle.OpenWithSync(Configuration configuration, SyncConfiguration syncConfiguration)
at Realms.Sync.SyncConfigurationBase.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Realm.GetInstance(RealmConfigurationBase config)
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config)
at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass2_0.<<Compact_ShouldReduceSize>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.<>c__DisplayClass15_0.<Run>b__0(Task t)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__281_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext , ContextCallback , Object )
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
--- End of stack trace from previous location ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.TestHelpers.RunAsyncTest(Func`1 testFunc, Int32 timeout, Task errorTask)
at Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize(Boolean encrypt, Boolean populate)
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object , Span`1 , BindingFlags )