Skip to content

Conversation

mfahadahmed
Copy link
Contributor

Summary

  • Return null variation if experiment key does not exist in feature's experimentIds array.

Issues

  • "OASIS-3950"

@coveralls
Copy link

coveralls commented Jan 9, 2019

Coverage Status

Coverage increased (+0.005%) to 97.266% when pulling 8d0e0b6 on fahad/decision-service-fix into 7fe2e0e on master.

@msohailhussain msohailhussain requested a review from a team January 9, 2019 20:28
Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

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

Mostly looks good, just one nit

sinon.assert.calledWithExactly(mockLogger.log, LOG_LEVEL.DEBUG, 'DECISION_SERVICE: User user1 is not in any experiment on the feature feature_with_group.');
});

it('bucketed group experiment does not exist in the feature', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

wording does not conform the BDD pattern. Should be it(returns null decision for group experiment not referenced by the feature)

Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

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

lgtm

@mikeproeng37 mikeproeng37 merged commit cfea9ce into master Jan 11, 2019
@mikeproeng37 mikeproeng37 deleted the fahad/decision-service-fix branch January 14, 2019 21:12
oakbani pushed a commit that referenced this pull request Apr 17, 2019
…ot exist in feature's experimentIds array. (#206)

(cherry picked from commit cfea9ce)
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