pgbackrest.git / summary / log / commit / refs

commit    ea4d73f375558c237fce696f20c19d1efef00bc1
Author:   David Steele <david@pgmasters.net>
Date:     Wed Apr 20 23:56:26 2022 +0000

    Fix ordering of backup-lsn-stop field in command/restore unit test.
    
    All fields should be alphabetical. Currently the read code is tolerant of this, but that will not always be the case.
    
    Fields are always written alphabetically so this is just a test issue introduced by d8d41321.


test/src/module/command/restoreTest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/module/command/restoreTest.c b/test/src/module/command/restoreTest.c index def8c0549..bcb2b687e 100644 --- a/test/src/module/command/restoreTest.c +++ b/test/src/module/command/restoreTest.c @@ -53,7 +53,7 @@ Test data for backup.info "20161219-212741F_20161219-212918I={\"backrest-format\":5,\"backrest-version\":\"2.04\"," \ "\"backup-archive-start\":null,\"backup-archive-stop\":null," \ "\"backup-info-repo-size\":3159811,\"backup-info-repo-size-delta\":15765,\"backup-info-size\":26897030," \ - "\"backup-lsn-stop\":\"0/1E000105\",\"backup-info-size-delta\":163866,\"backup-prior\":\"20161219-212741F\"," \ + "\"backup-info-size-delta\":163866,\"backup-lsn-stop\":\"0/1E000105\",\"backup-prior\":\"20161219-212741F\"," \ "\"backup-reference\":[\"20161219-212741F\",\"20161219-212741F_20161219-212803D\"],\"backup-timestamp-start\":1482182884," \ "\"backup-timestamp-stop\":1482182985,\"backup-type\":\"incr\",\"db-id\":1,\"option-archive-check\":true," \ "\"option-archive-copy\":false,\"option-backup-standby\":false,\"option-checksum-page\":false,\"option-compress\":true," \ @@ -80,7 +80,7 @@ Test data for backup.info "20161219-212741F_20161219-212918I={\"backrest-format\":5,\"backrest-version\":\"2.04\"," \ "\"backup-archive-start\":null,\"backup-archive-stop\":null," \ "\"backup-info-repo-size\":3159811,\"backup-info-repo-size-delta\":15765,\"backup-info-size\":26897030," \ - "\"backup-lsn-stop\":\"0/1E000105\",\"backup-info-size-delta\":163866,\"backup-prior\":\"20161219-212741F\"," \ + "\"backup-info-size-delta\":163866,\"backup-lsn-stop\":\"0/1E000105\",\"backup-prior\":\"20161219-212741F\"," \ "\"backup-reference\":[\"20161219-212741F\",\"20161219-212741F_20161219-212803D\"],\"backup-timestamp-start\":1482182884," \ "\"backup-timestamp-stop\":1482182985,\"backup-type\":\"incr\",\"db-id\":1,\"option-archive-check\":true," \ "\"option-archive-copy\":false,\"option-backup-standby\":false,\"option-checksum-page\":false,\"option-compress\":true," \ [parent: cb7a5f1ef3bb]