-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDDS-11311. Added Compatibility test for HSync #7400
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -17,11 +17,15 @@ | |||||||||||||||||||||||
Documentation Write Compatibility | ||||||||||||||||||||||||
Resource ../ozone-lib/shell.robot | ||||||||||||||||||||||||
Resource setup.robot | ||||||||||||||||||||||||
Resource ../lib/fs.robot | ||||||||||||||||||||||||
Resource ../ozone-lib/freon.robot | ||||||||||||||||||||||||
Test Timeout 5 minutes | ||||||||||||||||||||||||
Suite Setup Create Local Test File | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
*** Variables *** | ||||||||||||||||||||||||
${SUFFIX} ${EMPTY} | ||||||||||||||||||||||||
${VOL} comp-hsync-volume | ||||||||||||||||||||||||
${BUCK} comp-hsync-bucket | ||||||||||||||||||||||||
Comment on lines
+27
to
+28
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
*** Test Cases *** | ||||||||||||||||||||||||
|
@@ -40,3 +44,13 @@ FSO Bucket Can Be Created and Used | |||||||||||||||||||||||
Execute ozone sh bucket create --layout FILE_SYSTEM_OPTIMIZED /vol1/fso-bucket-${SUFFIX} | ||||||||||||||||||||||||
Execute ozone fs -mkdir -p ofs://om/vol1/fso-bucket-${SUFFIX}/dir/subdir | ||||||||||||||||||||||||
Execute ozone fs -put ${TESTFILE} ofs://om/vol1/fso-bucket-${SUFFIX}/dir/subdir/file | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
HSync Can Be Used To Create Keys | ||||||||||||||||||||||||
Pass Execution If '${CLIENT_VERSION}' < '${HSYNC_VERSION}' Client does not support HSYNC | ||||||||||||||||||||||||
Pass Execution If '${CLUSTER_VERSION}' < '${HSYNC_VERSION}' Cluster does not support HSYNC | ||||||||||||||||||||||||
Execute ozone sh volume create /${VOL} | ||||||||||||||||||||||||
Execute ozone sh bucket create /${VOL}/${BUCK} | ||||||||||||||||||||||||
${o3fspath} = Format FS URL o3fs ${VOL} ${BUCK} | ||||||||||||||||||||||||
Freon DFSG sync=HSYNC path=${o3fspath} | ||||||||||||||||||||||||
${pfspath} = Format FS URL ofs ${VOL} ${BUCK} | ||||||||||||||||||||||||
Freon DFSG sync=HSYNC path=${pfspath} | ||||||||||||||||||||||||
Comment on lines
+51
to
+56
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please use Rationale:
For unique items to be created per client version, please use
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Initially, I used the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like write and read test cases for HSync are independent. This read test case uses the file created by the FSO test case as input. Therefore here we do not need skip based on
${HSYNC_VERSION}
, but${FSO_VERSION}
.