Skip to content

Commit 6e4ba49

Browse files
committed
debugging test
1 parent 73a0652 commit 6e4ba49

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/integration/test_client_e2e.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)