Skip to content

Commit

Permalink
chore: fix provider tests with correct app name
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoppenheimer committed Oct 4, 2023
1 parent c638192 commit 10e8a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@

from literals import JMX_PORT, METRICS_PROVIDER_PORT

from . import SERIES, ZOOKEEPER_IMAGE
from . import APP_NAME, SERIES, ZOOKEEPER_IMAGE
from .helpers import check_jaas_config, get_address, ping_servers

logger = logging.getLogger(__name__)

APP_NAME = "zookeeper"
DUMMY_NAME_1 = "app"
DUMMY_NAME_2 = "appii"

Expand Down Expand Up @@ -57,6 +56,7 @@ async def test_deploy_charms_relate_active(ops_test: OpsTest):
assert len(jaas_config) == 3


@pytest.mark.abort_on_fail
async def test_metrics_endpoints(ops_test: OpsTest):
unit_address = await get_address(ops_test=ops_test)
jmx_exporter_url = f"http://{unit_address}:{JMX_PORT}/metrics"
Expand Down

0 comments on commit 10e8a70

Please sign in to comment.