Skip to content

Commit f73b19c

Browse files
committed
Test restoring snapshot with no pages data
1 parent 3a88509 commit f73b19c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/test-ghe-restore.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,20 @@ begin_test "ghe-restore no host arg or configured restore host"
113113
)
114114
end_test
115115

116+
begin_test "ghe-restore with no pages backup"
117+
(
118+
set -e
119+
rm -rf "$GHE_REMOTE_DATA_DIR"
120+
setup_remote_metadata
121+
122+
# remove pages data
123+
rm -rf "$GHE_DATA_DIR/1/pages"
124+
125+
# run it
126+
ghe-restore -v localhost
127+
)
128+
end_test
129+
116130
begin_test "ghe-restore with tarball strategy"
117131
(
118132
set -e

0 commit comments

Comments
 (0)