File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
core-api/src/test/java/com/optimizely/ab/bucketing Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 66install : true
77script :
88 - " ./gradlew clean"
9+ - " ./gradlew exhaustiveTest"
910 - " if [[ -n $TRAVIS_TAG ]]; then
1011 ./gradlew ship;
1112 else
Original file line number Diff line number Diff line change 1616 */
1717package com .optimizely .ab .bucketing ;
1818
19+ import ch .qos .logback .classic .Level ;
1920import com .optimizely .ab .bucketing .internal .MurmurHash3 ;
2021import com .optimizely .ab .categories .ExhaustiveTest ;
2122import com .optimizely .ab .config .Experiment ;
2223import com .optimizely .ab .config .ProjectConfig ;
2324import com .optimizely .ab .config .TrafficAllocation ;
2425import com .optimizely .ab .config .Variation ;
2526import com .optimizely .ab .internal .LogbackVerifier ;
26-
27+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
28+ import org .junit .Assume ;
2729import org .junit .Rule ;
2830import org .junit .Test ;
2931import org .junit .experimental .categories .Category ;
3638import java .util .Map ;
3739import java .util .concurrent .atomic .AtomicInteger ;
3840
39- import ch .qos .logback .classic .Level ;
40- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
41-
4241import static com .optimizely .ab .config .ProjectConfigTestUtils .validProjectConfigV2 ;
4342import static org .hamcrest .CoreMatchers .is ;
4443import static org .hamcrest .MatcherAssert .assertThat ;
@@ -79,6 +78,7 @@ public void generateBucketValueForNegativeHashCodes() throws Exception {
7978 @ Test
8079 @ Category (ExhaustiveTest .class )
8180 public void generateBucketValueDistribution () throws Exception {
81+ Assume .assumeTrue (Boolean .valueOf (System .getenv ("CI" )));
8282 long lowerHalfCount = 0 ;
8383 long totalCount = 0 ;
8484 int outOfRangeCount = 0 ;
You can’t perform that action at this time.
0 commit comments