Skip to content

Commit

Permalink
Fix another run action
Browse files Browse the repository at this point in the history
  • Loading branch information
nrobinaubertin committed Nov 30, 2023
1 parent 1c8f7ee commit e9276bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ async def test_s3_conf(app: Application, localstack_address: str, model: Model):
action = await app.units[0].run( # type: ignore
f'echo "{s3_conf["ip_address"]} {s3_conf["bucket"]}.s3.{s3_conf["domain"]}" >> /etc/hosts'
)
assert action.results.get("Code") == "0", "Can't inject S3 IP in Discourse hosts"
await action.wait()
assert action.results.get("return-ode") == 0, "Can't inject S3 IP in Discourse hosts"

logger.info("Injected bucket subdomain in hosts, configuring settings for discourse")
# Application does actually have attribute set_config
Expand Down

0 comments on commit e9276bd

Please sign in to comment.