Skip to content

Migrate to new sync error codes #3207

Migrate to new sync error codes

Migrate to new sync error codes #3207

GitHub Actions / Results Weaver osx-x64 failed Sep 14, 2023 in 1s

Results Weaver osx-x64 ❌

Tests failed

❌ TestResults.Weaver.xml

1472 tests were completed in 339s with 1471 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Realm.Fody.Tests.dll.Analytics.Tests.ValidateFeatureUsage. 44✔️ 1❌ 291s

❌ Realm.Fody.Tests.dll.Analytics.Tests.ValidateFeatureUsage.

Analytics.Tests
  ✔️ ValidateFeatureUsage("IEmbeddedObject","I_EMBEDDED_OBJECT")
  ❌ ValidateFeatureUsage("IAsymmetricObject","I_ASYMMETRIC_OBJECT")
	System.Collections.Generic.KeyNotFoundException : Element 'Asymmetric_Object' not found.
  ✔️ ValidateFeatureUsage("ReferenceList","REFERENCE_LIST")
  ✔️ ValidateFeatureUsage("PrimitiveList","PRIMITIVE_LIST")
  ✔️ ValidateFeatureUsage("ReferenceDictionary","REFERENCE_DICTIONARY")
  ✔️ ValidateFeatureUsage("PrimitiveDictionary","PRIMITIVE_DICTIONARY")
  ✔️ ValidateFeatureUsage("ReferenceSet","REFERENCE_SET")
  ✔️ ValidateFeatureUsage("PrimitiveSet","PRIMITIVE_SET")
  ✔️ ValidateFeatureUsage("RealmInteger","REALM_INTEGER")
  ✔️ ValidateFeatureUsage("RealmObjectReference","REALM_OBJECT_REFERENCE")
  ✔️ ValidateFeatureUsage("RealmValue","REALM_VALUE")
  ✔️ ValidateFeatureUsage("BacklinkAttribute","BACKLINK_ATTRIBUTE")
  ✔️ ValidateFeatureUsage("GetInstanceAsync","GET_INSTANCE_ASYNC")
  ✔️ ValidateFeatureUsage("GetInstance","GET_INSTANCE")
  ✔️ ValidateFeatureUsage("Find","FIND")
  ✔️ ValidateFeatureUsage("WriteAsync","WRITE_ASYNC")
  ✔️ ValidateFeatureUsage("ThreadSafeReference","THREAD_SAFE_REFERENCE")
  ✔️ ValidateFeatureUsage("Add","ADD")
  ✔️ ValidateFeatureUsage("ShouldCompactOnLaunch","SHOULD_COMPACT_ON_LAUNCH")
  ✔️ ValidateFeatureUsage("MigrationCallback","MIGRATION_CALLBACK")
  ✔️ ValidateFeatureUsage("RealmChanged","REALM_CHANGED")
  ✔️ ValidateFeatureUsage("ListSubscribeForNotifications","LIST_SUBSCRIBE_FOR_NOTIFICATIONS")
  ✔️ ValidateFeatureUsage("SetSubscribeForNotifications","SET_SUBSCRIBE_FOR_NOTIFICATIONS")
  ✔️ ValidateFeatureUsage("DictionarySubscribeForNotifications","DICTIONARY_SUBSCRIBE_FOR_NOTIFICATIONS")
  ✔️ ValidateFeatureUsage("ResultSubscribeForNotifications","RESULT_SUBSCRIBE_FOR_NOTIFICATIONS")
  ✔️ ValidateFeatureUsage("ObjectNotification","OBJECT_NOTIFICATION")
  ✔️ ValidateFeatureUsage("RecoverOrDiscardUnsyncedChangesHandler","RECOVER_OR_DISCARD_UNSYNCED_CHANGES_HANDLER")
  ✔️ ValidateFeatureUsage("RecoverUnsyncedChangesHandler","RECOVER_UNSYNCED_CHANGES_HANDLER")
  ✔️ ValidateFeatureUsage("DiscardUnsyncedChangesHandler","DISCARD_UNSYNCED_CHANGES_HANDLER")
  ✔️ ValidateFeatureUsage("ManualRecoveryHandler","MANUAL_RECOVERY_HANDLER")
  ✔️ ValidateFeatureUsage("GetProgressObservable","GET_PROGRESS_OBSERVABLE")
  ✔️ ValidateFeatureUsage("PartitionSyncConfiguration","PARTITION_SYNC_CONFIGURATION")
  ✔️ ValidateFeatureUsage("FlexibleSyncConfiguration","FLEXIBLE_SYNC_CONFIGURATION")
  ✔️ ValidateFeatureUsage("Anonymous","ANONYMOUS")
  ✔️ ValidateFeatureUsage("EmailPassword","EMAIL_PASSWORD")
  ✔️ ValidateFeatureUsage("Facebook","FACEBOOK")
  ✔️ ValidateFeatureUsage("Google","GOOGLE")
  ✔️ ValidateFeatureUsage("Apple","APPLE")
  ✔️ ValidateFeatureUsage("JWT","J_W_T")
  ✔️ ValidateFeatureUsage("ApiKey","API_KEY")
  ✔️ ValidateFeatureUsage("Function","FUNCTION")
  ✔️ ValidateFeatureUsage("CallAsync","CALL_ASYNC")
  ✔️ ValidateFeatureUsage("GetMongoClient","GET_MONGO_CLIENT")
  ✔️ ValidateFeatureUsage("DynamicApi","DYNAMIC_API")
  ✔️ ValidateFeatureUsage("ConnectionNotification","CONNECTION_NOTIFICATION")

Annotations

Check failure on line -1 in No path available

See this annotation in the file changed.

@github-actions github-actions / Results Weaver osx-x64

Realm.Fody.Tests.dll.Analytics.Tests.ValidateFeatureUsage. ► Analytics.Tests ► ValidateFeatureUsage("IAsymmetricObject","I_ASYMMETRIC_OBJECT")

Failed test found in:
  TestResults.Weaver.xml
Error:
  System.Collections.Generic.KeyNotFoundException : Element 'Asymmetric_Object' not found.
Raw output
   at MongoDB.Bson.BsonDocument.get_Item(String name)
   at Analytics.Tests.ValidateAnalyticsPayloadAllFrameworks(ValueTuple`2[] payloadFeatures) in /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Weaver/Realm.Fody.Tests/AnalyticsTests.cs:line 173
   at Analytics.Tests.ValidateFeatureUsage(String feature, String constant) in /Users/runner/work/realm-dotnet/realm-dotnet/Tests/Weaver/Realm.Fody.Tests/AnalyticsTests.cs:line 83