Skip to content

RNET-1159: Flexible-schema POC #292

RNET-1159: Flexible-schema POC

RNET-1159: Flexible-schema POC #292

GitHub Actions / Results Maui.Android failed Jun 18, 2024 in 0s

5509 passed, 6 failed and 637 skipped

Tests failed

❌ TestResults.Android.xml_transformed.xml

6152 tests were completed in 274s with 5509 passed, 6 failed and 637 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. 52✅ 2❌ 5s
Realm.Tests.dll.Realms.Tests.Database.InstanceTests.Compact_ShouldReduceSize. 2✅ 2❌ 1s
Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize. 2✅ 2❌ 826ms

❌ 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.Android.xml_transformed.xml

See this annotation in the file changed.

@github-actions github-actions / Results Maui.Android

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

Failed test found in:
  TestResults.Android.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.Android.xml_transformed.xml

See this annotation in the file changed.

@github-actions github-actions / Results Maui.Android

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

Failed test found in:
  TestResults.Android.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.Android.xml_transformed.xml

See this annotation in the file changed.

@github-actions github-actions / Results Maui.Android

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

Failed test found in:
  TestResults.Android.xml_transformed.xml
Error:
     at Realms.NativeException.ThrowIfNecessary()
Raw output
   at Realms.NativeException.ThrowIfNecessary()
   at Realms.SharedRealmHandle.Compact()
   at Realms.Realm.Compact(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.Android.xml_transformed.xml

See this annotation in the file changed.

@github-actions github-actions / Results Maui.Android

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

Failed test found in:
  TestResults.Android.xml_transformed.xml
Error:
     at Realms.NativeException.ThrowIfNecessary()
Raw output
   at Realms.NativeException.ThrowIfNecessary()
   at Realms.SharedRealmHandle.Compact()
   at Realms.Realm.Compact(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.Android.xml_transformed.xml

See this annotation in the file changed.

@github-actions github-actions / Results Maui.Android

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

Failed test found in:
  TestResults.Android.xml_transformed.xml
Error:
     at Realms.NativeException.ThrowIfNecessary()
Raw output
   at Realms.NativeException.ThrowIfNecessary()
   at Realms.SharedRealmHandle.Compact()
   at Realms.Realm.Compact(RealmConfigurationBase config)
   at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass2_1.<Compact_ShouldReduceSize>b__1()
   at Realms.Tests.TestHelpers.<>c__DisplayClass31_0`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<WaitForConditionAsync>b__0()
   at Realms.Tests.TestHelpers.<WaitForConditionAsync>d__32`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   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.Android.xml_transformed.xml

See this annotation in the file changed.

@github-actions github-actions / Results Maui.Android

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

Failed test found in:
  TestResults.Android.xml_transformed.xml
Error:
     at Realms.NativeException.ThrowIfNecessary()
Raw output
   at Realms.NativeException.ThrowIfNecessary()
   at Realms.SharedRealmHandle.Compact()
   at Realms.Realm.Compact(RealmConfigurationBase config)
   at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass2_1.<Compact_ShouldReduceSize>b__1()
   at Realms.Tests.TestHelpers.<>c__DisplayClass31_0`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<WaitForConditionAsync>b__0()
   at Realms.Tests.TestHelpers.<WaitForConditionAsync>d__32`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   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 )