Skip to content
Merged
Prev Previous commit
Next Next commit
Undo unintended changes
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Mar 7, 2022
commit f459c9a95093e69e81ab8e958eeb8ecdafad861e
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

DYNAMO_CONFIG = {"type": "dynamodb", "region": "us-west-2"}
# Port 12345 will chosen as default for redis node configuration because Redis Cluster is started off of nodes 6379 -> 6384. This causes conflicts in cli integration tests so we manually keep them separate.
REDIS_CONFIG = {"type": "redis", "connection_string": "localhost:6379,db=0"}
REDIS_CONFIG = {"type": "redis", "connection_string": "localhost:12345,db=0"}
REDIS_CLUSTER_CONFIG = {
"type": "redis",
"redis_type": "redis_cluster",
Expand All @@ -71,6 +71,7 @@
DEFAULT_FULL_REPO_CONFIGS.extend(
[
IntegrationTestRepoConfig(online_store=REDIS_CONFIG),
IntegrationTestRepoConfig(online_store=REDIS_CLUSTER_CONFIG),
# GCP configurations
IntegrationTestRepoConfig(
provider="gcp",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def _get_online_features_dict_remotely(
request["features"] = features
else:
request["feature_service"] = features.name
for attempt in range(25):
for _ in range(25):
# Send the request to the remote feature server and get the response in JSON format
response = requests.post(
f"{endpoint}/get-online-features", json=request, timeout=30
Expand Down