Skip to content

Compact-related fixes #2676

Compact-related fixes

Compact-related fixes #2676

GitHub Actions / Results Woven Classes failed Jun 6, 2024 in 1s

5289 passed, 1 failed and 553 skipped

Tests failed

❌ TestResults.xml

5843 tests were completed in 182s with 5289 passed, 1 failed and 553 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.InstanceTests. 53✅ 1❌ 4s

❌ 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
  ✅ GetInstance_WithMixOfManualAndTypedSchema_CanReadAndWrite
  ✅ GetInstance_WithTypedSchemaWithMissingProperties_ThrowsException
  ✅ GetInstanceAsync_ExecutesMigrationsInBackground
  ✅ GetInstanceShouldThrowWithBadPath
  ✅ GetInstanceTest
  ✅ GetInstanceWithJustFilenameTest
  ✅ GetTwice_ReadOnlyInstance_DoesNotThrow
  ✅ GetUniqueInstancesDifferentThreads
  ✅ InstanceIsClosedByDispose
  ✅ InstancesHaveDifferentHashes
  ✅ IsInTransaction_WhenInvokedOnADifferentThread_Throws
  ❌ Logger_ChangeLevel_ReflectedImmediately
	at Realms.Tests.Database.InstanceTests.<>c__DisplayClass55_0.<Logger_ChangeLevel_ReflectedImmediately>g__WriteAndVerifyLogs|0(Regex expectedRegex) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1305
  ✅ 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

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 ► Logger_ChangeLevel_ReflectedImmediately

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Database.InstanceTests.<>c__DisplayClass55_0.<Logger_ChangeLevel_ReflectedImmediately>g__WriteAndVerifyLogs|0(Regex expectedRegex) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1305
Raw output
   at Realms.Tests.Database.InstanceTests.<>c__DisplayClass55_0.<Logger_ChangeLevel_ReflectedImmediately>g__WriteAndVerifyLogs|0(Regex expectedRegex) in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1305
   at Realms.Tests.Database.InstanceTests.Logger_ChangeLevel_ReflectedImmediately() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1292