This project contains JUnit tests for the Aerospike Java Client. The client library should be built/installed before running these tests.
./run_tests <options>
-h,--host <arg>
Server hostname (default: localhost)-U,--user <arg>
User name. Use for servers that require authentication.-P,--password <arg>
Password. Use for servers that require authentication.-n,--namespace <arg>
Namespace (default: test)-p,--port <arg>
Server port (default: 3000)-s,--set <arg>
Set name. Use 'empty' for empty set (default: test)-tls,--tlsEnable
Use TLS/SSL sockets-tlsCiphers,--tlsCipherSuite <arg>
Allow TLS cipher suites Values: cipher names defined by JVM separated by comma Default: null (default cipher list provided by JVM)-tp,--tlsProtocols <arg>
Allow TLS protocols Values: TLSv1.1,TLSv1.2 separated by comma Default: TLSv1.2-tr,--tlsRevoke <arg>
Revoke certificates identified by their serial number Values: serial numbers separated by comma Default: null (Do not revoke certificates)-d,--debug
Run in debug mode.-u,--usage
Print usage.
./run_tests
./run_tests -h host1
./run_tests -h host2 -p 3000 -n myns -s myset
# TestQueryFilterExp is the test class name and queryNot is the test method.
./run_tests -Dtest=TestQueryFilterExp#queryNot
./run_tests -Djavax.net.ssl.trustStore=TrustStorePath -Djavax.net.ssl.trustStorePassword=TrustStorePassword -DrunSuite="**/SuiteSync.class" -h hostname:tlsname:tlsport -tls
./run_tests -Djavax.net.ssl.trustStore=TrustStorePath -Djavax.net.ssl.trustStorePassword=TrustStorePassword -DrunSuite="**/SuiteAsync.class" -h hostname:tlsname:tlsport -tls -netty