Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNET-1133: Fixed equality comparison for collections in mixed #3573

Merged
merged 5 commits into from
Apr 16, 2024

Added missing cases plus explanation

746e17d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

RNET-1133: Fixed equality comparison for collections in mixed #3573

Added missing cases plus explanation
746e17d
Select commit
Loading
Failed to load commit list.
GitHub Actions / Results Code Coverage failed Apr 16, 2024 in 1s

Results Code Coverage ❌

Tests failed

❌ TestResults.Linux.xml

6144 tests were completed in 1129s with 6119 passed, 3 failed and 22 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. 4✔️ 1❌ 13s
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. 4✔️ 1❌ 9s

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

Realms.Tests.Sync.StaticQueriesTests
  ✔️ RealmObjectAPI_Links_AtlasToRealm(Single link)
  ✔️ RealmObjectAPI_Links_AtlasToRealm(List)
  ❌ RealmObjectAPI_Links_AtlasToRealm(Dictionary)
	  Expected: not null
	  But was:  null
	
  ✔️ 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)
	  Expected: Object
	  But was:  Null
	
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Dictionary)
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Set)
  ✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(All types)

❌ Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests.

Realms.Tests.Sync.SyncMigrationTests
  ❌ Migration_FailsWithFutureVersion
	  Expected: String containing "schema version in BIND 3 is greater than latest schema version 2"
	  But was:  "Client provided invalid schema version: client presented schema version "3" is greater than latest schema version "2" Logs: http://34.231.21.249:44610/groups/661e85cf0a4ab83ec6411b46/apps/661e85e40a4ab83ec6411d07/logs?co_id=661e8cf20a4ab83ec642ba36"
	
  ✔️ Model_CanMigratePropertyOptionality
  ✔️ Model_CanRemoveField
  ✔️ SameRealm_CanBeMigratedSkippingVersions
  ✔️ SameRealm_CanBeMigratedThroughConsecutiveVersions

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(Dictionary)

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: not null
    But was:  null
  
Raw output
   at Realms.Tests.Sync.StaticQueriesTests.<RealmObjectAPI_Links_AtlasToRealm>g__AssertEqual|19_6(LinksObject retrieved, LinksObject original) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 584
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass19_0.<<RealmObjectAPI_Links_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 563
--- 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 70
   at Realms.Tests.TestHelpers.<>c__DisplayClass33_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 294
--- 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(List)

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|22_10(RealmValue retrieved, RealmValue original) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 794
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass22_0.<<RealmObjectAPI_RealmValueLinks_AtlasToRealm>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 765
--- 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 70
   at Realms.Tests.TestHelpers.<>c__DisplayClass33_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 294
--- 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.SyncMigrationTests. ► Realms.Tests.Sync.SyncMigrationTests ► Migration_FailsWithFutureVersion

Failed test found in:
  TestResults.Linux.xml
Error:
    Expected: String containing "schema version in BIND 3 is greater than latest schema version 2"
    But was:  "Client provided invalid schema version: client presented schema version "3" is greater than latest schema version "2" Logs: http://34.231.21.249:44610/groups/661e85cf0a4ab83ec6411b46/apps/661e85e40a4ab83ec6411d07/logs?co_id=661e8cf20a4ab83ec642ba36"
  
Raw output
   at Realms.Tests.Sync.SyncMigrationTests.<Migration_FailsWithFutureVersion>b__3_0() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncMigrationTests.cs:line 256
   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 70
   at Realms.Tests.TestHelpers.<>c__DisplayClass33_0.<<RunAsyncTest>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/TestHelpers.cs:line 294
--- End of stack trace from previous location ---
   at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)