@@ -54,7 +54,6 @@ public void works_when_we_start_with_any_state() throws InterruptedException {
5454 private void works (long startingChangeNumber ) throws InterruptedException {
5555 AChangePerCallSplitChangeFetcher splitChangeFetcher = new AChangePerCallSplitChangeFetcher ();
5656 SDKReadinessGates gates = new SDKReadinessGates ();
57- gates .sdkInternalReady ();
5857 SegmentCache segmentCache = new SegmentCacheInMemoryImpl ();
5958 SegmentChangeFetcher segmentChangeFetcher = Mockito .mock (SegmentChangeFetcher .class );
6059 SegmentSynchronizationTask segmentSynchronizationTask = new SegmentSynchronizationTaskImp (segmentChangeFetcher ,1 ,10 , gates , segmentCache );
@@ -86,7 +85,6 @@ private void works(long startingChangeNumber) throws InterruptedException {
8685 @ Test
8786 public void when_parser_fails_we_remove_the_experiment () throws InterruptedException {
8887 SDKReadinessGates gates = new SDKReadinessGates ();
89- gates .sdkInternalReady ();
9088 Split validSplit = new Split ();
9189 validSplit .status = Status .ACTIVE ;
9290 validSplit .seed = (int ) -1 ;
@@ -147,7 +145,6 @@ public void when_parser_fails_we_remove_the_experiment() throws InterruptedExcep
147145 @ Test
148146 public void if_there_is_a_problem_talking_to_split_change_count_down_latch_is_not_decremented () throws Exception {
149147 SDKReadinessGates gates = new SDKReadinessGates ();
150- gates .sdkInternalReady ();
151148 SplitCache cache = new InMemoryCacheImp (-1 );
152149
153150 SplitChangeFetcher splitChangeFetcher = mock (SplitChangeFetcher .class );
@@ -191,7 +188,6 @@ public void works_with_user_defined_segments() throws Exception {
191188 String segmentName = "foosegment" ;
192189 AChangePerCallSplitChangeFetcher experimentChangeFetcher = new AChangePerCallSplitChangeFetcher (segmentName );
193190 SDKReadinessGates gates = new SDKReadinessGates ();
194- gates .sdkInternalReady ();
195191 SplitCache cache = new InMemoryCacheImp (startingChangeNumber );
196192 SegmentCache segmentCache = new SegmentCacheInMemoryImpl ();
197193
0 commit comments