Skip to content

Commit

Permalink
Merge branch 'main' into dpe-3684-reinitialise-raft
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Nov 25, 2024
2 parents 5535896 + 58fc973 commit a307bd8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pydantic = "^1.10.18"
poetry-core = "^1.9.1"
pyOpenSSL = "^24.2.1"
jinja2 = "^3.1.4"
pysyncobj = "^0.3.12"
pysyncobj = "^0.3.13"
psutil = "^6.0.0"

[tool.poetry.group.charm-libs.dependencies]
Expand All @@ -40,7 +40,7 @@ opentelemetry-exporter-otlp-proto-http = "1.21.0"
optional = true

[tool.poetry.group.format.dependencies]
ruff = "^0.7.1"
ruff = "^0.8.0"

[tool.poetry.group.lint]
optional = true
Expand Down Expand Up @@ -108,7 +108,7 @@ line-length = 99

[tool.ruff.lint]
explicit-preview-rules = true
select = ["A", "E", "W", "F", "C", "N", "D", "I001", "B", "CPY", "RUF", "S", "SIM", "UP", "TCH"]
select = ["A", "E", "W", "F", "C", "N", "D", "I001", "B", "CPY", "RUF", "S", "SIM", "UP", "TC"]
extend-ignore = [
"D203",
"D204",
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/ha_tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.

import asyncio
import logging
from asyncio import TimeoutError

import pytest
from juju import tag
Expand Down Expand Up @@ -163,7 +163,7 @@ async def test_app_resources_conflicts_v3(ops_test: OpsTest, charm: str):
await ops_test.model.wait_for_idle(
apps=[DUP_APPLICATION_NAME], timeout=1000, status="blocked"
)
except TimeoutError:
except asyncio.TimeoutError:
logger.info("Application is not in blocked state. Checking logs...")

# Since application have postgresql db in storage from external application it should not be able to connect due to new password
Expand Down Expand Up @@ -211,7 +211,7 @@ async def test_app_resources_conflicts_v2(ops_test: OpsTest, charm: str):
await ops_test.model.wait_for_idle(
apps=[DUP_APPLICATION_NAME], timeout=1000, status="blocked"
)
except TimeoutError:
except asyncio.TimeoutError:
logger.info("Application is not in blocked state. Checking logs...")

# Since application have postgresql db in storage from external application it should not be able to connect due to new password
Expand Down

0 comments on commit a307bd8

Please sign in to comment.