tree: 7067e793784350273595c7839c0b962ec3484b14 [path history] [tgz]
  1. admincli/
  2. auditparser/
  3. basic/
  4. cli/
  5. compatibility/
  6. debug/
  7. failing/
  8. freon/
  9. gdpr/
  10. lib/
  11. om-ratis/
  12. omha/
  13. ozone-lib/
  14. ozonefs/
  15. recon/
  16. replication/
  17. s3/
  18. security/
  19. spnego/
  20. topology/
  21. .env
  22. __init__.robot
  23. commonlib.robot
  24. createbucketenv.robot
  25. createmrenv.robot
  26. csi.robot
  27. env-compose.robot
  28. kinit-hadoop.robot
  29. kinit.robot
  30. mapreduce.robot
  31. README.md
  32. test.sh
hadoop-ozone/dist/src/main/smoketest/README.md

Ozone Acceptance Tests

This directory contains a robotframework based test suite for Ozone to make it easier to check the current state of the package.

You can run in in any environment after installing

cd $DIRECTORY_OF_OZONE
robot smoketest/basic

The argument of the robot could be any robot file or directory.

The current configuration in the robot files (hostnames, ports) are adjusted for the docker-based setup but you can easily modify it for any environment.

Run tests in docker environment

In the ./compose folder there are additional test scripts to make it easy to run all tests or run a specific test in a docker environment.

Test one environment

Go to the compose directory and execute the test.sh directly from there:

cd compose/ozone
./test.sh

The results will be saved to the compose/ozone/results

Run all the tests

cd compose
./test-all.sh

The results will be combined to the compose/results folder.

Run one specific test case

Start the compose environment and execute test:

cd compose/ozone
docker-compose up -d
#wait....
../test-single.sh scm basic/basic.robot