Skip to content

RNET-1159: Flexible-schema POC #292

RNET-1159: Flexible-schema POC

RNET-1159: Flexible-schema POC #292

GitHub Actions / Results Xamarin.tvOS failed Jun 18, 2024 in 1s

5521 passed, 6 failed and 643 skipped

Tests failed

❌ TestResults.xml

6170 tests were completed in 392s with 5521 passed, 6 failed and 643 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. 52✅ 2❌ 9s
Realm.Tests.dll.Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize. 2✅ 2❌ 3s
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 () [0x001dc] in <bf336265d0914099a3954b6e8f8bf345>:0
  ✅ GetInstance_WithMixOfManualAndTypedSchema_CanReadAndWrite
  ❌ GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException
	at Realms.Tests.Database.InstanceTests.GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException () [0x00082] in <bf336265d0914099a3954b6e8f8bf345>:0
  ✅ 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 () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0
  ❌ Compact_ShouldReduceSize(True,False)
	at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0

❌ Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize.

Realms.Tests.Sync.SynchronizedInstanceTests
  ❌ Compact_ShouldReduceSize(True,True)
	at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0
  ❌ Compact_ShouldReduceSize(True,False)
	at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0
  ✅ Compact_ShouldReduceSize(False,True)
  ✅ Compact_ShouldReduceSize(False,False)

Annotations

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.tvOS

Realm.Tests.dll.Realms.Tests.Database.InstanceTests. ► Realms.Tests.Database.InstanceTests ► GetInstance_WithManualSchema_CanReadAndWrite

Failed test found in:
  TestResults.xml
Error:
    at Realms.Tests.Database.InstanceTests+<>c__DisplayClass49_0.<GetInstance_WithManualSchema_CanReadAndWrite>b__0 () [0x001dc] in <bf336265d0914099a3954b6e8f8bf345>:0 
Raw output
  at Realms.Tests.Database.InstanceTests+<>c__DisplayClass49_0.<GetInstance_WithManualSchema_CanReadAndWrite>b__0 () [0x001dc] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Realms.Realm+<>c__DisplayClass68_0.<Write>b__0 () [0x00000] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Realm.Write[T] (System.Func`1[TResult] function) [0x00018] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Realm.Write (System.Action action) [0x0001d] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Tests.Database.InstanceTests.GetInstance_WithManualSchema_CanReadAndWrite () [0x00141] in <bf336265d0914099a3954b6e8f8bf345>:0 

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.tvOS

Realm.Tests.dll.Realms.Tests.Database.InstanceTests. ► Realms.Tests.Database.InstanceTests ► GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException

Failed test found in:
  TestResults.xml
Error:
    at Realms.Tests.Database.InstanceTests.GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException () [0x00082] in <bf336265d0914099a3954b6e8f8bf345>:0 
Raw output
  at Realms.Tests.Database.InstanceTests.GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException () [0x00082] in <bf336265d0914099a3954b6e8f8bf345>:0 

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.tvOS

Realm.Tests.dll.Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize. ► Realms.Tests.Database.InstanceTests ► Compact_ShouldReduceSize(True,True)

Failed test found in:
  TestResults.xml
Error:
    at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0 
Raw output
  at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize (System.Boolean encrypt, System.Boolean populate) [0x00072] in <bf336265d0914099a3954b6e8f8bf345>: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 <d64da8442d334218a11e68edad4c2740>:0 

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.tvOS

Realm.Tests.dll.Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize. ► Realms.Tests.Database.InstanceTests ► Compact_ShouldReduceSize(True,False)

Failed test found in:
  TestResults.xml
Error:
    at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0 
Raw output
  at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.SharedRealmHandle.Open (Realms.Native.Configuration configuration) [0x00008] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.RealmConfiguration.CreateHandle (Realms.Native.Configuration& configuration) [0x00000] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize (System.Boolean encrypt, System.Boolean populate) [0x00072] in <bf336265d0914099a3954b6e8f8bf345>: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 <d64da8442d334218a11e68edad4c2740>:0 

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.tvOS

Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize. ► Realms.Tests.Sync.SynchronizedInstanceTests ► Compact_ShouldReduceSize(True,True)

Failed test found in:
  TestResults.xml
Error:
    at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0 
Raw output
  at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.SharedRealmHandle.OpenWithSync (Realms.Native.Configuration configuration, Realms.Sync.Native.SyncConfiguration syncConfiguration) [0x00009] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Sync.SyncConfigurationBase.CreateHandle (Realms.Native.Configuration& configuration) [0x00007] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Realms.Tests.Sync.SynchronizedInstanceTests+<>c__DisplayClass2_0.<Compact_ShouldReduceSize>b__0 () [0x00176] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Tests.TestHelpers+<>c__DisplayClass34_0.<RunAsyncTest>b__0 () [0x00079] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0 
  at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0 
  at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <d64da8442d334218a11e68edad4c2740>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <d64da8442d334218a11e68edad4c2740>: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 <a98182632eb245adb24e66ecaa8eeab5>:0 
  at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0 
  at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize (System.Boolean encrypt, System.Boolean populate) [0x00005] in <bf336265d0914099a3954b6e8f8bf345>: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 <d64da8442d334218a11e68edad4c2740>:0 

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Xamarin.tvOS

Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize. ► Realms.Tests.Sync.SynchronizedInstanceTests ► Compact_ShouldReduceSize(True,False)

Failed test found in:
  TestResults.xml
Error:
    at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0 
Raw output
  at Realms.NativeException.ThrowIfNecessary () [0x0000f] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.SharedRealmHandle.OpenWithSync (Realms.Native.Configuration configuration, Realms.Sync.Native.SyncConfiguration syncConfiguration) [0x00009] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Sync.SyncConfigurationBase.CreateHandle (Realms.Native.Configuration& configuration) [0x00007] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.RealmConfigurationBase.CreateRealm () [0x00015] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Realm.GetInstance (Realms.RealmConfigurationBase config) [0x0000a] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Tests.RealmTest.GetRealm (Realms.RealmConfigurationBase config) [0x00000] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Realms.Tests.Sync.SynchronizedInstanceTests+<>c__DisplayClass2_0.<Compact_ShouldReduceSize>b__0 () [0x00176] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <fc18803aeb614c9f8a4db287a2803933>:0 
  at Realms.Tests.TestHelpers+<>c__DisplayClass34_0.<RunAsyncTest>b__0 () [0x00079] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0 
  at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0 
  at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <d64da8442d334218a11e68edad4c2740>:0 
  at System.Threading.Tasks.Task.Execute () [0x00000] in <d64da8442d334218a11e68edad4c2740>: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 <a98182632eb245adb24e66ecaa8eeab5>:0 
  at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0 
  at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <bf336265d0914099a3954b6e8f8bf345>:0 
  at Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize (System.Boolean encrypt, System.Boolean populate) [0x00005] in <bf336265d0914099a3954b6e8f8bf345>: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 <d64da8442d334218a11e68edad4c2740>:0