* Use a http server to hold the port busy before the real test. Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com> * Use the onSuccess / onFailure lambdas to improve the test Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com> * Following the recommendation of use AsyncTestBase.onFailure() Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com> * Use onSuccess to check the port in the http server Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com> * Use a finally block to close the http server Signed-off-by: Rodrigo Salado Anaya <rodrigo.salado.anaya@gmail.com>
Vert.x Core
This is the repository for Vert.x core.
Vert.x core contains fairly low-level functionality, including support for HTTP, TCP, file system access, and various other features. You can use this directly in your own applications, and it's used by many of the other components of Vert.x.
For more information on Vert.x and where Vert.x core fits into the big picture please see the website.
Building Vert.x artifacts
> mvn package
Running tests
Runs the tests
> mvn test
Vert.x supports native transport on BSD and Linux, to run the tests with native transport
> mvn test -PtestNativeTransport
Vert.x supports domain sockets on Linux exclusively, to run the tests with domain sockets
> mvn test -PtestDomainSockets
Vert.x has a few integrations tests that run a differently configured JVM (classpath, system properties, etc....) for ALPN, native and logging
> vertx verify -Dtest=FooTest # FooTest does not exists, its only purpose is to execute no tests during the test phase
Building documentation
> mvn package -Pdocs -DskipTests
Open target/docs/vertx-core/java/index.html with your browser