Elek, Marton created HDDS-146:
---------------------------------
Summary: Refactor the structure of the acceptance tests
Key: HDDS-146
URL: https://issues.apache.org/jira/browse/HDDS-146
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Reporter: Elek, Marton
Assignee: Elek, Marton
I started to fix the packaging the ozone file system which requires additional
acceptance tests.
The original acceptance test is added when it was only one single file but
(fortunately) now we have multiple files and multiple tests and ozonefs
requires even more.
To make it easier to handle multplie acceptance tests I propose some changes on
the projects structure. This patch includes the following changes:
# all the start/stop/check common keywords are moved out the a common library
file (commonlib.robot). All the existing files are simplified.
# ozone-shell tests are simplified with using parametrized tests. We don't
need to repeat the same steps multiple times.
# The directories in the projects are simplified. Both compose file and robot
files are in the same directory. The basedir is handled from the robot files.
Now it's easier to run the tests localy (go to the dir and do a simple call
'robot basic.robot') or start the containers (use docker-compose from the base
directory)
# I adjusted the logging (warning about the missing native library is not
required)
# Decreased the heartbeat intervall (to make the tests faster)
# I improved the ozone-shell tests with adding a few additional checks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]