RNET-1132: Add tests for sync schema migration (#3570) #2586
GitHub Actions / Results Xamarin.iOS
failed
Apr 13, 2024 in 0s
Results Xamarin.iOS ❌
❌ TestResults.iOS.xml
6162 tests were completed in 1464s with 6132 passed, 2 failed and 28 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
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_RealmValueLinks_AtlasToRealm.
Realms.Tests.Sync.StaticQueriesTests
✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Single link)
✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(List)
✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Dictionary)
✔️ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Set)
❌ RealmObjectAPI_RealmValueLinks_AtlasToRealm(All types)
Expected: Object
But was: Null
❌ 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:42958/groups/661adff5b807fab89db5c229/apps/661ae008b807fab89db5c373/logs?co_id=661ae8abb807fab89db779b7"
✔️ Model_CanMigratePropertyOptionality
✔️ Model_CanRemoveField
✔️ SameRealm_CanBeMigratedSkippingVersions
✔️ SameRealm_CanBeMigratedThroughConsecutiveVersions
Annotations
Check failure on line -1 in No path available
github-actions / Results Xamarin.iOS
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_RealmValueLinks_AtlasToRealm(All types)
Failed test found in:
TestResults.iOS.xml
Error:
Expected: Object
But was: Null
Raw output
at Realms.Tests.Sync.StaticQueriesTests.<RealmObjectAPI_RealmValueLinks_AtlasToRealm>g__AssertEqual|22_10 (Realms.RealmValue retrieved, Realms.RealmValue original) [0x00036] in <77d6557e991a43c696960ada90e863e1>:0
at Realms.Tests.Sync.StaticQueriesTests+<>c__DisplayClass22_0.<RealmObjectAPI_RealmValueLinks_AtlasToRealm>b__0 () [0x006aa] in <77d6557e991a43c696960ada90e863e1>:0
at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <7692c036220a4619a3516354d6f91eda>:0
at Realms.Tests.TestHelpers+<>c__DisplayClass33_0.<RunAsyncTest>b__0 () [0x00079] in <77d6557e991a43c696960ada90e863e1>:0
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <ae4d2b2e1a52451bbb0fbe726a40b592>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <ae4d2b2e1a52451bbb0fbe726a40b592>:0
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <77d6557e991a43c696960ada90e863e1>:0
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x00042] in <77d6557e991a43c696960ada90e863e1>:0
at Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm (Realms.Tests.TestHelpers+TestCaseData`1[T] testCase) [0x00005] in <77d6557e991a43c696960ada90e863e1>:0
Check failure on line -1 in No path available
github-actions / Results Xamarin.iOS
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. ► Realms.Tests.Sync.SyncMigrationTests ► Migration_FailsWithFutureVersion
Failed test found in:
TestResults.iOS.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:42958/groups/661adff5b807fab89db5c229/apps/661ae008b807fab89db5c373/logs?co_id=661ae8abb807fab89db779b7"
Raw output
at Realms.Tests.Sync.SyncMigrationTests.<Migration_FailsWithFutureVersion>b__3_0 () [0x00088] in <77d6557e991a43c696960ada90e863e1>:0
at TaskExtensions.Timeout (System.Threading.Tasks.Task task, System.Int32 millisecondTimeout, System.Threading.Tasks.Task errorTask, System.String detail) [0x00140] in <7692c036220a4619a3516354d6f91eda>:0
at Realms.Tests.TestHelpers+<>c__DisplayClass33_0.<RunAsyncTest>b__0 () [0x00079] in <77d6557e991a43c696960ada90e863e1>:0
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext+<>c__DisplayClass15_0.<Run>b__0 (System.Threading.Tasks.Task t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke () [0x00024] in <ae4d2b2e1a52451bbb0fbe726a40b592>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <ae4d2b2e1a52451bbb0fbe726a40b592>:0
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException (System.Threading.Tasks.Task task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
at Nito.AsyncEx.AsyncContext.Run (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
at Realms.Tests.TestHelpers.RunAsyncTest (System.Func`1[TResult] testFunc, System.Int32 timeout, System.Threading.Tasks.Task errorTask) [0x00005] in <77d6557e991a43c696960ada90e863e1>:0
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync (System.Func`1[TResult] testFunc, System.Int32 timeout) [0x00042] in <77d6557e991a43c696960ada90e863e1>:0
at Realms.Tests.Sync.SyncMigrationTests.Migration_FailsWithFutureVersion () [0x00000] in <77d6557e991a43c696960ada90e863e1>:0
Loading