Skip to content

Commit

Permalink
Rust dep ci issue and warning in transaction py fix (#2670)
Browse files Browse the repository at this point in the history
* suppress Rust CI failure on dependecies

Signed-off-by: avifenesh <aviarchi1994@gmail.com>

* Suppress warning for test_transaction_clear in test_transaction.py

Signed-off-by: avifenesh <aviarchi1994@gmail.com>

---------

Signed-off-by: avifenesh <aviarchi1994@gmail.com>
  • Loading branch information
avifenesh authored Nov 11, 2024
1 parent daa5205 commit 66273f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ yanked = "deny"
ignore = [
# Unmaintained dependency error that needs more attention due to nested dependencies
"RUSTSEC-2024-0370",
"RUSTSEC-2024-0384",
"RUSTSEC-2024-0388",
]
# Threshold for security vulnerabilities, any vulnerability with a CVSS score
# lower than the range specified will be ignored. Note that ignored advisories
Expand Down
3 changes: 3 additions & 0 deletions python/python/tests/test_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,9 @@ async def test_standalone_transaction(self, glide_client: GlideClient):
assert result[5:13] == [2, 2, 2, [b"Bob", b"Alice"], 2, OK, None, 0]
assert result[13:] == expected

@pytest.mark.filterwarnings(
action="ignore", message="The test <Function test_transaction_clear>"
)
def test_transaction_clear(self):
transaction = Transaction()
transaction.info()
Expand Down

0 comments on commit 66273f4

Please sign in to comment.