Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

mikechu-optimizely
Copy link
Contributor

Summary

When duplicate experiment key found in the data file, SDK returns correct experiment map in OptimizelyConfig

  • Keep the latest experiment key, found in the datafile experiment list
  • Add warning log "Duplicate keys found in datafile: {key-name}"

Test plan

  • Updated existing test for duplicate key
  • All other tests cases are expected to pass

Issues

@coveralls
Copy link

Coverage Status

coverage: 97.336% (+0.003%) from 97.333%
when pulling ea06975 on mike/handle-duplicate-experiment-key
into 3fd73a2 on master.

Copy link

@andrewleap-optimizely andrewleap-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

@mikechu-optimizely mikechu-optimizely merged commit 4963820 into master Dec 4, 2023
@mikechu-optimizely mikechu-optimizely deleted the mike/handle-duplicate-experiment-key branch December 4, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants