Skip to content

Commit 3b58d8f

Browse files
committed
Update tests
1 parent 7964cde commit 3b58d8f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/test-ghe-restore-external-database.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ begin_test "ghe-restore allows restore of external DB snapshot to external DB in
6060
fi
6161

6262
# verify connect to right host
63-
check_restore_output_for "Connect 127.0.0.1:22 OK"
63+
check_restore_output_for "Connect 127.0.0.1:122 OK"
6464

6565
# verify stale servers were cleared
6666
check_restore_output_for "Cleaning up stale nodes ..."
@@ -156,7 +156,7 @@ begin_test "ghe-restore allows restore of external DB snapshot to non-external D
156156
check_restore_output_for "Skipping MySQL restore."
157157

158158
# verify connect to right host
159-
check_restore_output_for "Connect 127.0.0.1:22 OK"
159+
check_restore_output_for "Connect 127.0.0.1:122 OK"
160160

161161
# verify stale servers were cleared
162162
check_restore_output_for "Cleaning up stale nodes ..."
@@ -182,7 +182,7 @@ begin_test "ghe-restore allows restore of non external DB snapshot to external D
182182
check_restore_output_for "Skipping MySQL restore."
183183

184184
# verify connect to right host
185-
check_restore_output_for "Connect 127.0.0.1:22 OK"
185+
check_restore_output_for "Connect 127.0.0.1:122 OK"
186186

187187
# verify stale servers were cleared
188188
check_restore_output_for "Cleaning up stale nodes ..."

test/test-ghe-restore.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ begin_test "ghe-restore into configured vm"
5656
cat "$TRASHDIR/restore-out"
5757

5858
# verify connect to right host
59-
grep -q "Connect 127.0.0.1:22 OK" "$TRASHDIR/restore-out"
59+
grep -q "Connect 127.0.0.1:122 OK" "$TRASHDIR/restore-out"
6060

6161
# verify stale servers were cleared
6262
grep -q "Cleaning up stale nodes ..." "$TRASHDIR/restore-out"
@@ -141,7 +141,7 @@ begin_test "ghe-restore -c into unconfigured vm"
141141
fi
142142

143143
# verify connect to right host
144-
grep -q "Connect 127.0.0.1:22 OK" "$TRASHDIR/restore-out"
144+
grep -q "Connect 127.0.0.1:122 OK" "$TRASHDIR/restore-out"
145145

146146
# verify attempt to clear stale servers was not made
147147
grep -q "Cleaning up stale nodes ..." "$TRASHDIR/restore-out" && {
@@ -175,7 +175,7 @@ begin_test "ghe-restore into unconfigured vm"
175175
! grep -q "ghe-config-apply OK" "$TRASHDIR/restore-out"
176176

177177
# verify connect to right host
178-
grep -q "Connect 127.0.0.1:22 OK" "$TRASHDIR/restore-out"
178+
grep -q "Connect 127.0.0.1:122 OK" "$TRASHDIR/restore-out"
179179

180180
# verify attempt to clear stale servers was not made
181181
grep -q "Cleaning up stale nodes ..." "$TRASHDIR/restore-out" && {

0 commit comments

Comments
 (0)