Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Apr 2, 2023
1 parent e6eed8a commit c3a1a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion molecule/multimachine/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
--engine-type ACTIVEMQ \
--host-instance-type mq.t3.micro \
--engine-version 5.15.15 \
--users Password={{ activemq_password }},Username=alfresco \
--users Password={{ activemq_password | quote }},Username=alfresco \
--security-groups {{ ec2_groups_lookup.security_groups[0].group_id }} \
--publicly-accessible \
--no-auto-minor-version-upgrade
Expand Down
2 changes: 1 addition & 1 deletion roles/activemq/molecule/default/tests/test_activemq.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_activemq_service(host):

def test_activemq_web_console(host, get_ansible_vars):
"Check that ActiveMQ web console is available and returns a HTTP 200 for the home page"
cmd = host.run("curl -iL --user admin:{} http://{}:8161".format(get_ansible_vars["activemq_password"], test_host))
cmd = host.run('curl -iL --user admin:"{}" http://{}:8161'.format(get_ansible_vars["activemq_password"], test_host))
assert_that(cmd.stdout, contains_string("Welcome to the Apache ActiveMQ!"))
assert_that(cmd.stdout, contains_string("200 OK"))

Expand Down

0 comments on commit c3a1a6f

Please sign in to comment.