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

[FSSDK-9785] handle duplicate experiment keys with a warning #535

Merged
merged 4 commits into from
Nov 27, 2023

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
17 checks passed
@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.

2 participants