Skip to content

Commit a1f69cd

Browse files
testing fix
1 parent e98ec64 commit a1f69cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-api/src/main/java/com/optimizely/ab/bucketing/DecisionService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public DecisionResponse<Variation> getVariation(@Nonnull Experiment experiment,
171171
String bucketingId = getBucketingId(user.getUserId(), user.getAttributes());
172172
String cmabUUID = null;
173173
decisionVariation = bucketer.bucket(experiment, bucketingId, projectConfig);
174-
if (decisionPath == DecisionPath.WITH_CMAB && isCmabExperiment(experiment) && decisionVariation.getResult() != null) {
174+
if (decisionPath == DecisionPath.WITH_CMAB && isCmabExperiment(experiment)) {
175175
// group-allocation and traffic-allocation checking passed for cmab
176176
// we need server decision overruling local bucketing for cmab
177177
DecisionResponse<CmabDecision> cmabDecision = getDecisionForCmabExperiment(projectConfig, experiment, user, bucketingId, options);

0 commit comments

Comments
 (0)