Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ FSO Bucket Can Be Read
[teardown] Execute rm -f ${TEMP_DIR}/file

HSync Lease Recover Can Be Used
Pass Execution If '${DATA_VERSION}' < '${HSYNC_VERSION}' Skipped the test case
Pass Execution If '${DATA_VERSION}' < '${FSO_VERSION}' Skipped write test case
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 debug recover --path=ofs://om/vol1/fso-bucket-${SUFFIX}/dir/subdir/file
12 changes: 4 additions & 8 deletions hadoop-ozone/dist/src/main/smoketest/compatibility/write.robot
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ Suite Setup Create Local Test File

*** Variables ***
${SUFFIX} ${EMPTY}
${VOL} comp-hsync-volume
${BUCK} comp-hsync-bucket


*** Test Cases ***
Expand All @@ -48,9 +46,7 @@ FSO Bucket Can Be Created and Used
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}
${o3fspath} = Format FS URL o3fs vol1 bucket1
Freon DFSG sync=HSYNC n=1 path=${o3fspath}
${pfspath} = Format FS URL ofs $vol1 bucket1
Freon DFSG sync=HSYNC n=1 path=${pfspath}