Skip to content

RNET-1161: Implement support for using a log level for a specific log category #314

RNET-1161: Implement support for using a log level for a specific log category

RNET-1161: Implement support for using a log level for a specific log category #314

GitHub Actions / Results net6.0, win-x64 failed Jul 10, 2024 in 1s

5525 passed, 1 failed and 637 skipped

Tests failed

❌ TestResults.xml

6163 tests were completed in 196s with 5525 passed, 1 failed and 637 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.Logger_ChangeLevel_ReflectedImmediately() in D:\a\realm-dotnet\realm-dotnet\Tests\Realm.Tests\Database\InstanceTests.cs:line 1279
  ✅ 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 net6.0, win-x64

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