Skip to content

Add the to-be-generated Flexible Schema models #324

Add the to-be-generated Flexible Schema models

Add the to-be-generated Flexible Schema models #324

GitHub Actions / Results Code Coverage failed Jul 11, 2024 in 0s

6131 passed, 4 failed and 25 skipped

Tests failed

❌ TestResults.xml

6160 tests were completed in 1082s with 6131 passed, 4 failed and 25 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_Object_RealmToAtlas. 1❌ 1s
Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_RealmValueLinks_AtlasToRealm. 4✅ 1❌ 10s
Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests. 15✅ 1❌ 3⚪ 50s

❌ 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)
	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 583
  ✅ RealmObjectAPI_Links_AtlasToRealm(Set)
  ✅ RealmObjectAPI_Links_AtlasToRealm(All types)

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

Realms.Tests.Sync.StaticQueriesTests
  ❌ RealmObjectAPI_Object_RealmToAtlas(All values)
	at Realms.SharedRealmHandle.CreateObjectWithPrimaryKey(Property pkProperty, RealmValue& primaryKey, TableKey tableKey, String parentType, Boolean update, Boolean& isNew) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SharedRealmHandle.cs:line 656

❌ 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)
	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 793
  ✅ RealmObjectAPI_RealmValueLinks_AtlasToRealm(Set)
  ✅ RealmObjectAPI_RealmValueLinks_AtlasToRealm(All types)

❌ Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests.

Realms.Tests.Sync.SynchronizedInstanceTests
  ⚪ CancelAsyncOperationsOnNonFatalErrors_WhenFalse_ShouldNotCancelAsyncOperationsOnTimeout
  ⚪ CancelAsyncOperationsOnNonFatalErrors_WhenTrue_ShouldCancelAsyncOperationsOnTimeout
  ✅ DeleteRealmWorksIfCalledMultipleTimes
  ✅ EmbeddedObject_WhenAdditiveExplicit_ShouldThrow
  ✅ GetInstance_WhenDynamic_ReadsSchemaFromDisk
  ✅ GetInstance_WhenDynamicAndDoesntExist_ReturnsEmptySchema
  ✅ GetInstanceAsync_Cancel_ShouldCancelWait
  ✅ GetInstanceAsync_CreatesNonExistentRealm
  ✅ GetInstanceAsync_ReportsProgress
  ✅ GetInstanceAsync_WithOnProgress_DoesntThrowWhenOnProgressIsSetToNull
  ✅ GetInstanceAsync_WithOnProgressThrowing_ReportsErrorToLogs
  ⚪ InvalidSchemaChange_RaisesClientReset
  ✅ RealmDispose_ClosesSessions
  ❌ SyncLogger_WhenLevelChanges_LogsAtNewLevel
	at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass30_0.<<SyncLogger_WhenLevelChanges_LogsAtNewLevel>b__1>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs:line 823
  ✅ SyncTimeouts_ArePassedCorrectlyToCore
  ✅ WriteCopy_FailsWithEmptyConfig
  ✅ WriteCopy_ThrowsWhenConvertingFromFLXToPBS
  ✅ WriteCopy_ThrowsWhenConvertingFromLocalToFLX
  ✅ WriteCopy_ThrowsWhenConvertingFromPBSToFLX

Annotations

Check failure on line 0 in TestResults.xml

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.xml
Error:
     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 583
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 583
   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 562
--- 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 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Object_RealmToAtlas. ► Realms.Tests.Sync.StaticQueriesTests ► RealmObjectAPI_Object_RealmToAtlas(All values)

Failed test found in:
  TestResults.xml
Error:
     at Realms.SharedRealmHandle.CreateObjectWithPrimaryKey(Property pkProperty, RealmValue& primaryKey, TableKey tableKey, String parentType, Boolean update, Boolean& isNew) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SharedRealmHandle.cs:line 656
Raw output
   at Realms.SharedRealmHandle.CreateObjectWithPrimaryKey(Property pkProperty, RealmValue& primaryKey, TableKey tableKey, String parentType, Boolean update, Boolean& isNew) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Handles/SharedRealmHandle.cs:line 656
   at Realms.Realm.AddInternal[T](T obj, Type objectType, Boolean update) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 713
   at Realms.Realm.Add[T](T obj, Boolean update)
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass17_1.<RealmObjectAPI_Object_RealmToAtlas>b__3() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 433
   at Realms.Realm.Write[T](Func`1 function) in /home/runner/work/realm-dotnet/realm-dotnet/Realm/Realm/Realm.cs:line 838
   at Realms.Tests.Sync.StaticQueriesTests.<>c__DisplayClass17_0.<<RealmObjectAPI_Object_RealmToAtlas>b__0>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 433
--- 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)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Nito.AsyncEx.AsyncContext.Run(Func`1 action)
   at Realms.Tests.Sync.SyncTestHelpers.RunBaasTestAsync(Func`1 testFunc, Int32 timeout) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SyncTestHelpers.cs:line 85
   at Realms.Tests.Sync.StaticQueriesTests.RealmObjectAPI_Object_RealmToAtlas(TestCaseData`1 testCase) in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/StaticQueriesTests.cs:line 423
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Check failure on line 0 in TestResults.xml

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.xml
Error:
     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 793
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 793
   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 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 0 in TestResults.xml

See this annotation in the file changed.

@github-actions github-actions / Results Code Coverage

Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests. ► Realms.Tests.Sync.SynchronizedInstanceTests ► SyncLogger_WhenLevelChanges_LogsAtNewLevel

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass30_0.<<SyncLogger_WhenLevelChanges_LogsAtNewLevel>b__1>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs:line 823
Raw output
   at Realms.Tests.Sync.SynchronizedInstanceTests.<>c__DisplayClass30_0.<<SyncLogger_WhenLevelChanges_LogsAtNewLevel>b__1>d.MoveNext() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Sync/SynchronizedInstanceTests.cs:line 823
--- 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)