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

Add flexible schema mapping POC #3635

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Hook up basic SG and weaver

a240bec
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Add flexible schema mapping POC #3635

Hook up basic SG and weaver
a240bec
Select commit
Loading
Failed to load commit list.
GitHub Actions / Results Code Coverage failed Jul 10, 2024 in 0s

6131 passed, 2 failed and 25 skipped

Tests failed

❌ TestResults.xml

6158 tests were completed in 1514s with 6131 passed, 2 failed and 25 skipped.

Test suite Passed Failed Skipped Time
Realm.Tests.dll.Realms.Tests.Database.FlexibleSchemaPocTests. 3✅ 1❌ 5s
Realm.Tests.dll.Realms.Tests.Sync.SynchronizedInstanceTests. 15✅ 1❌ 3⚪ 72s

❌ Realm.Tests.dll.Realms.Tests.Database.FlexibleSchemaPocTests.

Realms.Tests.Database.FlexibleSchemaPocTests
  ❌ AccessMappedTypeProperties_ReadsValuesFromBackingStorage
	at Realms.Tests.Database.FlexibleSchemaPocTests.AccessMappedTypeProperties_ReadsValuesFromBackingStorage() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/FlexibleSchemaPocTests.cs:line 82
  ✅ NotifyPropertyChanged_NotifiesForModifications
  ✅ RealmValue_AsMappedType_ReturnsCorrectObject
  ✅ RealmValue_AsMappedType_WhenTypeIsIncorrect_Throws

❌ 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.Database.FlexibleSchemaPocTests. ► Realms.Tests.Database.FlexibleSchemaPocTests ► AccessMappedTypeProperties_ReadsValuesFromBackingStorage

Failed test found in:
  TestResults.xml
Error:
     at Realms.Tests.Database.FlexibleSchemaPocTests.AccessMappedTypeProperties_ReadsValuesFromBackingStorage() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/FlexibleSchemaPocTests.cs:line 82
Raw output
   at Realms.Tests.Database.FlexibleSchemaPocTests.AccessMappedTypeProperties_ReadsValuesFromBackingStorage() in /home/runner/work/realm-dotnet/realm-dotnet/Tests/Realm.Tests/Database/FlexibleSchemaPocTests.cs:line 82

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)