File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ for _ in "$@"; do
20
20
done
21
21
22
22
if [ " $2 " == " ghe-version" ]; then
23
- if [ -n " $MATCHING_VERSIONS " ]; then
23
+ if [ -z " $DIFFERENT_VERSIONS " ]; then
24
24
echo " fake-uuid: GitHub Enterprise Server 3.1.0 lxc 2020-12-16 5e97c07602"
25
25
echo " fake-uuid1: GitHub Enterprise Server 3.1.0 lxc 2020-12-16 5e97c07602"
26
26
echo " fake-uuid2: GitHub Enterprise Server 3.1.0 lxc 2020-12-16 5e97c07602"
Original file line number Diff line number Diff line change @@ -544,10 +544,6 @@ begin_test "ghe-restore cluster with matching node versions"
544
544
setup_remote_cluster
545
545
echo " cluster" > " $GHE_DATA_DIR /current/strategy"
546
546
547
- # set that versions should match for this test
548
- MATCHING_VERSIONS=1
549
- export MATCHING_VERSIONS
550
-
551
547
# set as configured, enable maintenance mode and create required directories
552
548
setup_maintenance_mode " configured"
553
549
@@ -611,6 +607,10 @@ begin_test "ghe-restore cluster with different node versions should fail at ghe-
611
607
setup_remote_cluster
612
608
echo " cluster" > " $GHE_DATA_DIR /current/strategy"
613
609
610
+ # set that versions should not match for this test
611
+ DIFFERENT_VERSIONS=1
612
+ export DIFFERENT_VERSIONS
613
+
614
614
# set as configured, enable maintenance mode and create required directories
615
615
setup_maintenance_mode " configured"
616
616
You can’t perform that action at this time.
0 commit comments