Skip to content

afza-tipu/afzal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Aerospike Java Client Tests

This project contains JUnit tests for the Aerospike Java Client. The client library should be built/installed before running these tests.

Usage:

./run_tests <options>

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.

Examples:

./run_tests 
./run_tests -h host1
./run_tests -h host2 -p 3000 -n myns -s myset

Run a specific test:

# TestQueryFilterExp is the test class name and queryNot is the test method.
./run_tests -Dtest=TestQueryFilterExp#queryNot

TLS Examples:

./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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published