Example #1
0
    def test_get_marathon_lb_urls(self):
        marathon_lb_urls = zdd.get_marathon_lb_urls(Arguments())

        assert 'http://127.0.0.1:9090' in marathon_lb_urls
        assert 'http://127.0.0.2:9090' in marathon_lb_urls
        assert 'http://127.0.0.3:9090' not in marathon_lb_urls
Example #2
0
 def run(args):
     marathon_lb_urls = zdd.get_marathon_lb_urls(args)
     assert 'http://127.0.0.1:9090' in marathon_lb_urls
     assert 'http://127.0.0.2:9090' in marathon_lb_urls
     assert 'http://127.0.0.3:9090' not in marathon_lb_urls
Example #3
0
    def test_get_marathon_lb_urls(self):
        marathon_lb_urls = zdd.get_marathon_lb_urls(Arguments())

        assert 'http://127.0.0.1:9090' in marathon_lb_urls
        assert 'http://127.0.0.2:9090' in marathon_lb_urls
        assert 'http://127.0.0.3:9090' not in marathon_lb_urls
Example #4
0
 def run(args):
     marathon_lb_urls = zdd.get_marathon_lb_urls(args)
     assert 'http://127.0.0.1:9090' in marathon_lb_urls
     assert 'http://127.0.0.2:9090' in marathon_lb_urls
     assert 'http://127.0.0.3:9090' not in marathon_lb_urls