Skip to content

Commit

Permalink
[DPE-5622] Fix test_tls.py test by installing 1 mattermost unit only (#…
Browse files Browse the repository at this point in the history
…460)

The Mattermost enterprise license is required to install/use Mattermost clustering:
> https://charmhub.io/mattermost-k8s/docs/scale-and-monitor-performance

Switch test to install the single unit only, otherwise crashes on install:
> canonical/mattermost-k8s-operator#30
  • Loading branch information
taurus-forever authored Nov 19, 2024
1 parent f0ee50c commit e1c820c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,6 @@ async def test_mattermost_db(ops_test: OpsTest) -> None:
async with ops_test.fast_forward():
# Deploy Mattermost
await deploy_and_relate_application_with_pgbouncer(
ops_test, MATTERMOST_APP_NAME, MATTERMOST_APP_NAME, APPLICATION_UNITS, status="waiting"
ops_test, MATTERMOST_APP_NAME, MATTERMOST_APP_NAME, 1, status="waiting"
)
await ops_test.model.remove_application(MATTERMOST_APP_NAME, block_until_done=True)

0 comments on commit e1c820c

Please sign in to comment.