Collections of Mixed #2341
Results .NET (win81, net7.0) ❌
❌ TestResults.xml
5761 tests were completed in 301s with 5237 passed, 6 failed and 518 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. | 52✔️ | 1❌ | 12s | |
Realm.Tests.dll.Realms.Tests.Database.MigrationTests. | 13✔️ | 5❌ | 471ms |
❌ 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
✔️ FrozenRealms_ReuseParentSchemaAndMetadata
✔️ GetCachedInstancesSameThread
✔️ GetInstance_WhenDynamic_ReadsSchemaFromDisk
✔️ GetInstance_WhenDynamicAndDoesntExist_ReturnsEmptySchema
❌ GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow
Expected: No Exception to be thrown
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.InstanceTests.<>c__DisplayClass34_0.<GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow>b__0() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 797
at InvokeStub_TestDelegate.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.ExceptionHelper.Rethrow(Exception exception)
at NUnit.Framework.Internal.Reflect.DynamicInvokeWithTransparentExceptions(Delegate delegate)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
✔️ 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
❌ Realm.Tests.dll.Realms.Tests.Database.MigrationTests.
Realms.Tests.Database.MigrationTests
❌ ExceptionInMigrationCallback
Expected: <System.AggregateException>
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.MigrationTests.<>c__DisplayClass3_0.<ExceptionInMigrationCallback>b__0() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 127
at NUnit.Framework.Assert.Throws(IResolveConstraint expression, TestDelegate code, String message, Object[] args)>
✔️ Migration_ChangePrimaryKey_Dynamic
✔️ Migration_ChangePrimaryKey_Static
✔️ Migration_ChangePrimaryKey_WithDuplicates_Throws
✔️ Migration_ChangePrimaryKeyType
✔️ Migration_NewRealm_Remove
✔️ Migration_ToEmbedded_DeletesOrphans
✔️ Migration_ToEmbedded_DuplicatesObjects
✔️ Migration_WhenDone_DisposesAllObjectsAndLists
✔️ MigrationRemoveTypeInSchema
✔️ MigrationRemoveTypeInvalidArguments
✔️ MigrationRemoveTypeNotInSchema
❌ MigrationRenameProperty
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
❌ MigrationRenamePropertyErrors
Expected: <System.ArgumentException>
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.MigrationTests.<>c__DisplayClass6_0.<MigrationRenamePropertyErrors>b__0() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 228
at NUnit.Framework.Assert.Throws(IResolveConstraint expression, TestDelegate code, String message, Object[] args)>
❌ MigrationRenamePropertyInvalidArguments
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
✔️ MigrationTriggersDelete
❌ TriggerMigrationBySchemaEditing
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
✔️ TriggerMigrationBySchemaVersion
Annotations
Check failure on line -1 in No path available
github-actions / Results .NET (win81, net7.0)
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. ► Realms.Tests.Database.InstanceTests ► GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow
Failed test found in:
TestResults.xml
Error:
Expected: No Exception to be thrown
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.InstanceTests.<>c__DisplayClass34_0.<GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow>b__0() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 797
at InvokeStub_TestDelegate.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of stack trace from previous location ---
at NUnit.Framework.Internal.ExceptionHelper.Rethrow(Exception exception)
at NUnit.Framework.Internal.Reflect.DynamicInvokeWithTransparentExceptions(Delegate delegate)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
Raw output
at Realms.Tests.Database.InstanceTests.GetInstance_WhenIsDynamic_AndOSSchemaHasEmptyTable_DoesntThrow() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 795
Check failure on line -1 in No path available
github-actions / Results .NET (win81, net7.0)
Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► ExceptionInMigrationCallback
Failed test found in:
TestResults.xml
Error:
Expected: <System.AggregateException>
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.MigrationTests.<>c__DisplayClass3_0.<ExceptionInMigrationCallback>b__0() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 127
at NUnit.Framework.Assert.Throws(IResolveConstraint expression, TestDelegate code, String message, Object[] args)>
Raw output
at Realms.Tests.Database.MigrationTests.ExceptionInMigrationCallback() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 127
Check failure on line -1 in No path available
github-actions / Results .NET (win81, net7.0)
Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► MigrationRenameProperty
Failed test found in:
TestResults.xml
Error:
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
Raw output
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.MigrationTests.MigrationRenameProperty() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 209
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results .NET (win81, net7.0)
Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► MigrationRenamePropertyErrors
Failed test found in:
TestResults.xml
Error:
Expected: <System.ArgumentException>
But was: <Realms.Exceptions.RealmException: Database has an unsupported version (9) and cannot be upgraded
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.MigrationTests.<>c__DisplayClass6_0.<MigrationRenamePropertyErrors>b__0() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 228
at NUnit.Framework.Assert.Throws(IResolveConstraint expression, TestDelegate code, String message, Object[] args)>
Raw output
at Realms.Tests.Database.MigrationTests.MigrationRenamePropertyErrors() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 228
Check failure on line -1 in No path available
github-actions / Results .NET (win81, net7.0)
Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► MigrationRenamePropertyInvalidArguments
Failed test found in:
TestResults.xml
Error:
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
Raw output
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.MigrationTests.MigrationRenamePropertyInvalidArguments() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 300
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Check failure on line -1 in No path available
github-actions / Results .NET (win81, net7.0)
Realm.Tests.dll.Realms.Tests.Database.MigrationTests. ► Realms.Tests.Database.MigrationTests ► TriggerMigrationBySchemaEditing
Failed test found in:
TestResults.xml
Error:
Realms.Exceptions.RealmException : Database has an unsupported version (9) and cannot be upgraded
Raw output
at Realms.RealmConfiguration.CreateHandle(Configuration& configuration)
at Realms.RealmConfigurationBase.CreateRealm()
at Realms.Tests.RealmTest.GetRealm(RealmConfigurationBase config) in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\RealmTest.cs:line 143
at Realms.Tests.Database.MigrationTests.TriggerMigrationBySchemaEditing() in C:\run\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\MigrationTests.cs:line 103
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)