RNET-1145, RNET-1143: Fix reading schema from native (#3601) #2432
Results UWP Managed ❌
❌ C:/Users/runneradmin/AppData/Local/Packages/realm.uwp.tests_tqmxrx2sghv08/LocalState/TestResults.UWP.xml
6074 tests were completed in 1938s with 6050 passed, 3 failed and 21 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests. | 2✔️ | 3❌ | 8s |
❌ Realm.Tests.dll.Realms.Tests.Sync.SyncMigrationTests.
Realms.Tests.Sync.SyncMigrationTests
✔️ Migration_FailsWithFutureVersion
❌ Model_CanMigratePropertyOptionality
Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56480/groups/664d0a4336dc2eedec788537/apps/664d0a5436dc2eedec7886f6/logs?co_id=664d191d36dc2eedec7a6756
✔️ Model_CanRemoveField
❌ SameRealm_CanBeMigratedSkippingVersions
Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56480/groups/664d0a4336dc2eedec788537/apps/664d0a5436dc2eedec7886f6/logs?co_id=664d192236dc2eedec7a682e
❌ SameRealm_CanBeMigratedThroughConsecutiveVersions
Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56480/groups/664d0a4336dc2eedec788537/apps/664d0a5436dc2eedec7886f6/logs?co_id=664d192236dc2eedec7a685d
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 ► Model_CanMigratePropertyOptionality
Failed test found in:
C:/Users/runneradmin/AppData/Local/Packages/realm.uwp.tests_tqmxrx2sghv08/LocalState/TestResults.UWP.xml
Error:
Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56480/groups/664d0a4336dc2eedec788537/apps/664d0a5436dc2eedec7886f6/logs?co_id=664d191d36dc2eedec7a6756
Raw output
at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken)
at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm)
at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion)
at Realms.Tests.Sync.SyncMigrationTests.<Model_CanMigratePropertyOptionality>b__1_0()
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
at Realms.Tests.TestHelpers.<>c__DisplayClass34_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)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout)
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 ► SameRealm_CanBeMigratedSkippingVersions
Failed test found in:
C:/Users/runneradmin/AppData/Local/Packages/realm.uwp.tests_tqmxrx2sghv08/LocalState/TestResults.UWP.xml
Error:
Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56480/groups/664d0a4336dc2eedec788537/apps/664d0a5436dc2eedec7886f6/logs?co_id=664d192236dc2eedec7a682e
Raw output
at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken)
at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm)
at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion)
at Realms.Tests.Sync.SyncMigrationTests.<SameRealm_CanBeMigratedSkippingVersions>b__5_0()
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
at Realms.Tests.TestHelpers.<>c__DisplayClass34_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)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout)
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 ► SameRealm_CanBeMigratedThroughConsecutiveVersions
Failed test found in:
C:/Users/runneradmin/AppData/Local/Packages/realm.uwp.tests_tqmxrx2sghv08/LocalState/TestResults.UWP.xml
Error:
Realms.Sync.Exceptions.SessionException : Invalid schema change (UPLOAD): non-breaking schema change: adding schema for Realm table "Nullables", schema changes from clients are restricted when developer mode is disabled Logs: http://52.91.245.93:56480/groups/664d0a4336dc2eedec788537/apps/664d0a5436dc2eedec7886f6/logs?co_id=664d192236dc2eedec7a685d
Raw output
at Realms.Sync.SubscriptionSetHandle.WaitForStateChangeAsync(Nullable`1 cancellationToken)
at Realms.Tests.Sync.SyncTestBase.WaitForSubscriptionsAsync(Realm realm)
at Realms.Tests.Sync.SyncMigrationTests.OpenRealm(ObjectId differentiator, Type schema, UInt64 schemaVersion)
at Realms.Tests.Sync.SyncMigrationTests.<SameRealm_CanBeMigratedThroughConsecutiveVersions>b__4_0()
at TaskExtensions.Timeout(Task task, Int32 millisecondTimeout, Task errorTask, String detail)
at Realms.Tests.TestHelpers.<>c__DisplayClass34_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)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException(Task task)
at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout)