Skip to content

Develop swap redis asyncio commits#913

Merged
lrafeei merged 4 commits intomainfrom
develop-swap-redis-asyncio-commits
Aug 28, 2023
Merged

Develop swap redis asyncio commits#913
lrafeei merged 4 commits intomainfrom
develop-swap-redis-asyncio-commits

Conversation

@lrafeei
Copy link
Copy Markdown
Contributor

@lrafeei lrafeei commented Aug 26, 2023

This PR swaps #881 with #782

lrafeei and others added 2 commits August 25, 2023 13:27
* Revert "Redis asyncio testing (#881)"

This reverts commit 05cff1b.

* Add spublish to list of commands
* Fix redis.asyncio sync operations wrapper

* Add clean ups

* Fixes:
- `loop` -> noqa
- catch `TimeoutError` on `asyncio.timeout`

* Added separate instrumentation for redis.asyncio.client (#808)

* Added separate instrumentation for redis.asyncio.client

Merge main branch updates

Add tests for newrelic/config.py (#860)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Modify redis tests

* removed redis.asyncio from aioredis instrumentation

removed aioredis instrumentation in redis asyncio client

removed redis.asyncio from aioredis instrumentation

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Lalleh Rafeei <lrafeei@newrelic.com>
Co-authored-by: Lalleh Rafeei <84813886+lrafeei@users.noreply.github.com>

* Modify tests

* Tweak tests and instrumentation

* Tweak tests to separate aioredis and redis.asyncio

* Correctly separate commands to sync/async

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ahmed <ahmedhropewala@gmail.com>
Co-authored-by: Lalleh Rafeei <lrafeei@newrelic.com>
Co-authored-by: Lalleh Rafeei <84813886+lrafeei@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 26, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON bandit 2 0 4.74s
✅ PYTHON black 4 3 0 1.04s
✅ PYTHON flake8 4 0 0.42s
✅ PYTHON isort 4 3 0 0.19s
✅ PYTHON pylint 4 0 3.71s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #913 (83fa78f) into main (399c81f) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #913      +/-   ##
==========================================
- Coverage   81.69%   81.66%   -0.03%     
==========================================
  Files         185      185              
  Lines       18638    18638              
  Branches     3265     3265              
==========================================
- Hits        15226    15221       -5     
- Misses       2496     2499       +3     
- Partials      916      918       +2     
Files Changed Coverage Δ
newrelic/hooks/datastore_redis.py 89.18% <ø> (ø)

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lrafeei lrafeei marked this pull request as ready for review August 26, 2023 00:36
@lrafeei lrafeei requested a review from a team August 26, 2023 00:36
Comment thread tests/datastore_aioredis/test_execute_command.py Outdated
@mergify mergify Bot added the tests-failing Tests failing in CI. label Aug 28, 2023
@lrafeei lrafeei requested a review from umaannamalai August 28, 2023 21:22
@lrafeei lrafeei merged commit 0baf8d5 into main Aug 28, 2023
@lrafeei lrafeei deleted the develop-swap-redis-asyncio-commits branch August 28, 2023 21:23
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants