Skip to content

Commit 2bbeaaf

Browse files
authored
HDDS-12700. Upgrade test overwrites previous result (apache#8229)
1 parent 0a558c1 commit 2bbeaaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • hadoop-ozone/dist/src/main/compose/upgrade

hadoop-ozone/dist/src/main/compose/upgrade/testlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ run_test() {
106106

107107
local test_dir="$_upgrade_dir/upgrades/$upgrade_type"
108108
local callback_dir="$test_dir"/callbacks
109-
local execution_dir="$test_dir"/execution/"${OZONE_UPGRADE_FROM}-${OZONE_UPGRADE_TO}"
109+
local execution_dir="$test_dir"/execution/"$compose_cluster-$upgrade_type-${OZONE_UPGRADE_FROM}-${OZONE_UPGRADE_TO}"
110110
local compose_dir="$_upgrade_dir"/compose/"$compose_cluster"
111111
# Export variables needed by test, since it is run in a subshell.
112112
export OZONE_UPGRADE_CALLBACK="$callback_dir"/"$OZONE_UPGRADE_TO"/callback.sh

0 commit comments

Comments
 (0)