def listen_handler(err, server):
     VertxAssert.assertNull(err)
     # The server is listening so send an HTTP request
     vertx.create_http_client().set_port(8181).get_now("/", resp_handler)
Example #2
0
def handler(err, depID):
    # Deployment is asynchronous and this this handler will be called when it's complete (or failed)
    VertxAssert.assertNull(err)
    # If deployed correctly then start the tests!
    vertx_tests.start_tests(script)
Example #3
0
 def listen_handler(err, server):
     VertxAssert.assertNull(err)
     # The server is listening so send an HTTP request
     vertx.create_http_client().set_port(8181).get_now("/", resp_handler)