~michael.nelson/charms/trusty/logstash/trunk

« back to all changes in this revision

Viewing changes to tests/10-deploy

  • Committer: Charles Butler
  • Date: 2015-04-20 14:07:05 UTC
  • Revision ID: charles.butler@ubuntu.com-20150420140705-cvxek6r1zzkfffrv
Removed excess comments from base of charm test

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
if __name__ == '__main__':
56
56
    unittest.main()
57
57
 
58
 
 
59
 
 
60
 
 
61
 
 
62
 
# # test we can access ES Status Port
63
 
# page = requests.get('http://{}:9200'.format(esunit.info['public-address']))
64
 
# page.raise_for_status()
65
 
 
66
 
 
67
 
# get LogStash output config
68
 
# lsunit = d.sentry.unit['logstash/0']
69
 
# esconf = lsunit.file_contents('/opt/logstash/conf.d/output-elasticsearch.conf')
70
 
# print(esconf)
71
 
# if esunit.info['public-address'] not in esconf:
72
 
#     amulet.raise_status(amulet.FAIL, "Unable to validate ES as backend")
73
 
#
74
 
# rabunit = d.sentry.unit['rabbitmq-server/0']
75
 
# rabconf = lsunit.file_contents('/opt/logstash/conf.d/input_rabbit.conf')
76
 
# print(rabconf)
77
 
# if rabunit.info['public-address'] not in rabconf:
78
 
#     amulet.raise_status(amulet.FAIL, "Unable to validate RabbitMQ integration")