Skip to content

Commit

Permalink
Fixup: convert to new CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hmstepanek committed Jul 14, 2023
1 parent fcd7d17 commit 35b5e6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
4 changes: 0 additions & 4 deletions newrelic/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2853,10 +2853,6 @@ def _process_module_builtin_defaults():
"redis.commands.cluster", "newrelic.hooks.datastore_redis", "instrument_redis_commands_cluster"
)

_process_module_definition(
"redis.commands.cluster", "newrelic.hooks.datastore_redis", "instrument_redis_commands_cluster"
)

_process_module_definition(
"redis.commands.core", "newrelic.hooks.datastore_redis", "instrument_redis_commands_core"
)
Expand Down
9 changes: 3 additions & 6 deletions tests/testing_support/db_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,9 @@ def redis_cluster_settings():
2. Github Actions
"""

if "GITHUB_ACTIONS" in os.environ:
instances = 1
base_port = 8090
else:
instances = 1
base_port = 7000
host = "host.docker.internal" if "GITHUB_ACTIONS" in os.environ else "localhost"
instances = 1
base_port = 7000

settings = [
{
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ changedir =
datastore_pymssql: tests/datastore_pymssql
datastore_pymysql: tests/datastore_pymysql
datastore_pysolr: tests/datastore_pysolr
datastore_redis: tests/datastore_redis/
datastore_rediscluster: tests/datastore_rediscluster/
datastore_redis: tests/datastore_redis
datastore_rediscluster: tests/datastore_rediscluster
datastore_aioredis: tests/datastore_aioredis
datastore_aredis: tests/datastore_aredis
datastore_solrpy: tests/datastore_solrpy
Expand Down

0 comments on commit 35b5e6c

Please sign in to comment.