36
36
"Edit local.yaml or tests/00-setup and run it again.")
40
39
bundle_path = os.path.join(os.path.dirname(__file__), 'bundles.yaml')
41
40
with open(bundle_path, 'r') as bundle_file:
42
41
contents = yaml.safe_load(bundle_file)
46
bundle_path = os.path.join(os.path.dirname(__file__), 'bundles.yaml')
47
with open(bundle_path, 'r') as bundle_file:
48
contents = yaml.safe_load(bundle_file)
45
bundle_path = os.path.join(os.path.dirname(__file__), 'bundles.yaml')
46
with open(bundle_path, 'r') as bundle_file:
47
contents = yaml.safe_load(bundle_file)
53
51
# Software doesn't actually install until you accept the license
55
d.configure('was-base', {'accept-ibm-websphere-license': True, 'accept-ibm-im-license': True,'was_url': url, 'im_file_name': pkg })
56
d.setup(seconds_to_wait)
58
# d.relate('haproxy:reverseproxy', 'was-base:website')
59
# d.sentry.wait(seconds_to_wait)
62
d.configure('was-base', {'accept-ibm-websphere-license': True, 'accept-ibm-im-license': True,'was_url': url, 'im_file_name': pkg })
63
d.configure('haproxy', {'enable_monitoring': True })
64
d.relate('haproxy:reverseproxy', 'was-base:website')
65
d.setup(seconds_to_wait)
66
d.sentry.wait(seconds_to_wait)
52
d.configure('was-base', {'accept-ibm-websphere-license': True, 'accept-ibm-im-license': True,'was_url': url, 'im_file_name': pkg })
53
d.setup(seconds_to_wait)
55
d.relate('haproxy:reverseproxy', 'was-base:website')
56
d.sentry.wait(seconds_to_wait)
58
d.configure('was-base', {'accept-ibm-websphere-license': True, 'accept-ibm-im-license': True,'was_url': url, 'im_file_name': pkg })
59
d.configure('haproxy', {'enable_monitoring': True })
60
d.relate('haproxy:reverseproxy', 'was-base:website')
61
d.setup(seconds_to_wait)
62
d.sentry.wait(seconds_to_wait)
70
64
def test_deployed(self):
71
65
self.assertTrue(self.d.deployed)