RNET-1132: Add tests for sync schema migration (#3570) #2586
GitHub Actions / Results UWP Managed
failed
Apr 13, 2024 in 0s
Results UWP Managed ❌
❌ C:/Users/runneradmin/AppData/Local/Packages/realm.uwp.tests_tqmxrx2sghv08/LocalState/TestResults.UWP.xml
6162 tests were completed in 1481s with 6139 passed, 1 failed and 22 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. | 4✔️ | 1❌ | 10s |
❌ 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:42973/groups/661adff46891822b9cae4513/apps/661ae00a6891822b9cae46f0/logs?co_id=661ae8ab6891822b9caff8f1"
✔️ Model_CanMigratePropertyOptionality
✔️ Model_CanRemoveField
✔️ SameRealm_CanBeMigratedSkippingVersions
✔️ SameRealm_CanBeMigratedThroughConsecutiveVersions
Annotations
Check failure on line -1 in No path available
github-actions / Results UWP Managed
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. ► Realms.Tests.Sync.SyncMigrationTests ► Migration_FailsWithFutureVersion
Failed test found in:
C:/Users/runneradmin/AppData/Local/Packages/realm.uwp.tests_tqmxrx2sghv08/LocalState/TestResults.UWP.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:42973/groups/661adff46891822b9cae4513/apps/661ae00a6891822b9cae46f0/logs?co_id=661ae8ab6891822b9caff8f1"
Raw output
at Realms.Tests.Sync.SyncMigrationTests.<Migration_FailsWithFutureVersion>b__3_0()
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
at Realms.Tests.TestHelpers.<>c__DisplayClass33_0.<<RunAsyncTest>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
Loading