pgbackrest.git / summary / log / commit / refs
commit 909be412f8ad0d87f23ce2a2dbca94c3e0732f9f
Author: David Steele <david@pgmasters.net>
Date: Thu Oct 13 23:08:40 2022 +0000
Swap command/backup and command/restore unit tests.
Logically restore belongs after backup and in a future commit restore will have a dependency on some backup objects.
doc/xml/release.xml | 1 +
test/define.yaml | 28 ++++++++++++++--------------
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/doc/xml/release.xml b/doc/xml/release.xml
index d3662c261..c4575295a 100644
--- a/doc/xml/release.xml
+++ b/doc/xml/release.xml
@@ -62,6 +62,7 @@
</commit>
<commit subject="Update ManifestFile booleans to bit fields."/>
<commit subject="Use read-only storage to calculate checksum in restoreFile()."/>
+ <commit subject="Swap command/backup and command/restore unit tests."/>
<release-item-contributor-list>
<release-item-contributor id="david.steele"/>
diff --git a/test/define.yaml b/test/define.yaml
index 7245facf0..af5e2ccac 100644
--- a/test/define.yaml
+++ b/test/define.yaml
@@ -795,20 +795,6 @@ unit:
coverage:
- command/remote/remote
- # ----------------------------------------------------------------------------------------------------------------------------
- - name: restore
- total: 12
-
- coverage:
- - command/restore/file
- - command/restore/protocol
- - command/restore/restore
-
- include:
- - common/user
- - info/infoBackup
- - info/manifest
-
# ----------------------------------------------------------------------------------------------------------------------------
- name: backup
total: 11
@@ -825,6 +811,20 @@ unit:
- info/manifest
- storage/storage
+ # ----------------------------------------------------------------------------------------------------------------------------
+ - name: restore
+ total: 12
+
+ coverage:
+ - command/restore/file
+ - command/restore/protocol
+ - command/restore/restore
+
+ include:
+ - common/user
+ - info/infoBackup
+ - info/manifest
+
# ----------------------------------------------------------------------------------------------------------------------------
- name: repo
total: 4
[parent: 8f67fb6db264]