File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -945,16 +945,17 @@ class LocalhostIntegrationTests(object): # pylint: disable=too-few-public-metho
945945
946946 def test_localhost_json_e2e (self ):
947947 """Instantiate a client with a JSON file and issue get_treatment() calls."""
948+ self ._update_temp_file (splits_json ['splitChange2_1' ])
948949 filename = os .path .join (os .path .dirname (__file__ ), 'files' , 'split_changes_temp.json' )
949950 self .factory = get_factory ('localhost' , config = {'splitFile' : filename })
950951 self .factory .block_until_ready (1 )
951952 client = self .factory .client ()
952953
953954 # Tests 2
954- self .factory ._storages ['splits' ].remove ('SPLIT_2' )
955- self .factory ._sync_manager ._synchronizer ._split_synchronizers ._split_sync ._split_storage .set_change_number (- 1 )
956- self ._update_temp_file (splits_json ['splitChange2_1' ])
957- self ._synchronize_now ()
955+ # self.factory._storages['splits'].remove('SPLIT_2')
956+ # self.factory._sync_manager._synchronizer._split_synchronizers._split_sync._split_storage.set_change_number(-1)
957+ # self._update_temp_file(splits_json['splitChange2_1'])
958+ # self._synchronize_now()
958959
959960 assert self .factory .manager ().split_names () == ["SPLIT_1" ]
960961 assert client .get_treatment ("key" , "SPLIT_1" , None ) == 'off'
You can’t perform that action at this time.
0 commit comments