Skip to content

RNET-1159: Flexible-schema POC #292

RNET-1159: Flexible-schema POC

RNET-1159: Flexible-schema POC #292

GitHub Actions / Results Woven Classes failed Jun 18, 2024 in 0s

5283 passed, 6 failed and 553 skipped

Tests failed

❌ TestResults.xml

5842 tests were completed in 207s with 5283 passed, 6 failed and 553 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❌ 2s
Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize. 2✅ 2❌ 3s

❌ 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() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1117
  ✅ GetInstance_WithMixOfManualAndTypedSchema_CanReadAndWrite
  ❌ GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException
	at Realms.Tests.Database.InstanceTests.GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1219
  ✅ 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

See this annotation in the file changed.

@github-actions github-actions / Results Woven Classes

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() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1117
Raw output
   at Realms.Tests.Database.InstanceTests.<>c__DisplayClass49_0.<GetInstance_WithManualSchema_CanReadAndWrite>b__0() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1117
   at Realms.Realm.Write[T](Func`1 function)
   at Realms.Realm.Write(Action action)
   at Realms.Tests.Database.InstanceTests.GetInstance_WithManualSchema_CanReadAndWrite() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1098

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Woven Classes

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() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1219
Raw output
   at Realms.Tests.Database.InstanceTests.GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1219

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Woven Classes

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()
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) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 344
   at InvokeStub_InstanceTests.Compact_ShouldReduceSize(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Woven Classes

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()
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) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 344
   at InvokeStub_InstanceTests.Compact_ShouldReduceSize(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Woven Classes

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()
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() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 67
   at Realms.Tests.TestHelpers.WaitForConditionAsync[T](Func`1 producer, Func`2 tester, Int32 retryDelay, Int32 attempts, String errorMessage) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\TestHelpers.cs:line 269
   at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass2_0.<<Compact_ShouldReduceSize>b__0>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 67
--- 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() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize(Boolean encrypt, Boolean populate) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 45
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Woven Classes

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()
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() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 67
   at Realms.Tests.TestHelpers.WaitForConditionAsync[T](Func`1 producer, Func`2 tester, Int32 retryDelay, Int32 attempts, String errorMessage) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\TestHelpers.cs:line 269
   at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass2_0.<<Compact_ShouldReduceSize>b__0>d.MoveNext() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 67
--- 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() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\TestHelpers.cs:line 300
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.Sync.SynchronizedInstanceTests.Compact_ShouldReduceSize(Boolean encrypt, Boolean populate) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Sync\SynchronizedInstanceTests.cs:line 45
   at InvokeStub_SynchronizedInstanceTests.Compact_ShouldReduceSize(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)