Skip to content

Conversation

@jaeopt
Copy link
Contributor

@jaeopt jaeopt commented Nov 21, 2023

Summary

When duplicate experiment keys are found in a datafile, SDK returns a correct experimentMap in OptimizelyConfig:

  1. the experimentMap will contain the experiment later in the datafile experiments list.
  2. add a warning log about "Duplicate experiment keys found in datafile: {key-name}"

Test plan

  • add a test for OptimizelyConfig with duplicate experiment keys

Issues

Copy link

@mikechu-optimizely mikechu-optimizely left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM no showstoppers but some thoughts 👇

Copy link

@mikechu-optimizely mikechu-optimizely left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jaeopt jaeopt merged commit e59c595 into master Nov 27, 2023
@jaeopt jaeopt deleted the jae/FSSDK-9785 branch November 27, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants