Skip to content

RNET-1126: Fix flaky tests on CI #146

RNET-1126: Fix flaky tests on CI

RNET-1126: Fix flaky tests on CI #146

GitHub Actions / Results Code Coverage failed May 3, 2024 in 0s

Results Code Coverage ❌

Tests failed

❌ TestResults.Linux.xml

6053 tests were completed in 1046s with 6029 passed, 3 failed and 21 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Links_AtlasToRealm. 4✔️ 1❌ 9s
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. 3✔️ 2❌ 11s

❌ Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Links_AtlasToRealm.

Realms.Tests.Sync.StaticQueriesTests
  ✔️ RealmObjectAPI_Links_AtlasToRealm(Single link)
  ❌ RealmObjectAPI_Links_AtlasToRealm(List)
	  Expected: 2
	  But was:  1
	
  ✔️ RealmObjectAPI_Links_AtlasToRealm(Dictionary)
  ✔️ RealmObjectAPI_Links_AtlasToRealm(Set)
  ✔️ RealmObjectAPI_Links_AtlasToRealm(All types)

❌ Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm.

Realms.Tests.Sync.StaticQueriesTests
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Single link)
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(List)
  ❌ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Dictionary)
	  Expected: Object
	  But was:  Null
	
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Set)
  ❌ RealmObjectAPI_RealmValueLinks_AtlasToRealm(All types)
	  Expected: Object
	  But was:  Null
	

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Links_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_Links_AtlasToRealm(List)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: 2
    But was:  1
  
Raw output
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass18_0.<<RealmObjectAPI_Links_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 550
--- End of stack trace from previous location ---
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/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)

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_RealmValueLinks_AtlasToRealm(Dictionary)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: Object
    But was:  Null
  
Raw output
   at Realms.Tests.Sync.StaticQueriesTests.<RealmObjectAPI_RealmValueLinks_AtlasToRealm>g__AssertEqual|21_10(RealmValue retrieved, RealmValue original) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 793
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass21_0.<<RealmObjectAPI_RealmValueLinks_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 772
--- End of stack trace from previous location ---
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/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)

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_RealmValueLinks_AtlasToRealm(All types)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: Object
    But was:  Null
  
Raw output
   at Realms.Tests.Sync.StaticQueriesTests.<RealmObjectAPI_RealmValueLinks_AtlasToRealm>g__AssertEqual|21_10(RealmValue retrieved, RealmValue original) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 793
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass21_0.<<RealmObjectAPI_RealmValueLinks_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 764
--- End of stack trace from previous location ---
   at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Extensions/TaskExtensions.cs:line 69
   at Realms.Tests.TestHelpers.<>c__DisplayClass34_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/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)