Skip to content

codeabovelab/haven-api-tests

Repository files navigation

Haven API Tests

Please visit the main Haven project and read the Haven documentation for the complete installation instruction and feature list.

License

Copyright 2016-2017 Code Above Lab LLC

Licensed under the Apache License, Version 2.0(the "License"); you may not use this file except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Running Tests

To run the tests:

export API_HOST=http://172.31.0.3:8761/ 
java -jar "$PATH_TO_JSTEREST/jsterest.jar" -t ./ main 

# folow modules create and delete test data: test_cluster test_security test_docker_cluster 
# also has destructive tests:  test_jobs_update

Note that some tests can modify cluster data. Destructive tests may destroy or broken existed clusters, therefore runt it allowed only on test environment.

Releases

No releases published

Packages

No packages published