Skip to content
GitHub Actions / Results Maui.iOS failed Oct 9, 2023 in 1s

Results Maui.iOS ❌

Tests failed

❌ TestResults.iOS.xml

5712 tests were completed in 781s with 5184 passed, 1 failed and 527 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.LifetimeTests. 2✔️ 1❌ 15s

❌ Realm.Tests.dll.Realms.Tests.Database.LifetimeTests.

Realms.Tests.Database.LifetimeTests
  ✔️ FinalizedRealmsShouldNotInvalidateSiblingRealms
  ✔️ RealmObjectsShouldKeepRealmAlive
  ❌ TransactionShouldHoldStrongReferenceToRealm
	  Expected the preserver instance to be GC-ed but it wasn't.
	  Expected: False
	  But was:  True
	

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

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

Realm.Tests.dll.Realms.Tests.Database.LifetimeTests. ► Realms.Tests.Database.LifetimeTests ► TransactionShouldHoldStrongReferenceToRealm

Failed test found in:
  TestResults.iOS.xml
Error:
    Expected the preserver instance to be GC-ed but it wasn't.
    Expected: False
    But was:  True
  
Raw output
   at Realms.Tests.TestHelpers.<EnsurePreserverKeepsObjectAlive>d__12`1[[Realms.Transaction, Realm, Version=11.5.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
   at Realms.Tests.Database.LifetimeTests.<>c.<<TransactionShouldHoldStrongReferenceToRealm>b__2_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__DisplayClass31_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__272_0(Object obj)