File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,10 @@ def test_page_stream(self):
149149 page_result = node .execute ("postgres" , "SELECT * FROM t_heap" )
150150 page_backup_id = self .backup_node (
151151 backup_dir , 'node' , node ,
152- backup_type = 'page' , options = ['--stream' ])
152+ backup_type = 'page' , options = ['--stream' , '-j' , '4' ])
153+
154+ if self .paranoia :
155+ pgdata = self .pgdata_content (node .data_dir )
153156
154157 # Drop Node
155158 node .cleanup ()
@@ -162,6 +165,12 @@ def test_page_stream(self):
162165 backup_id = full_backup_id , options = ["-j" , "4" ]),
163166 '\n Unexpected Error Message: {0}\n '
164167 ' CMD: {1}' .format (repr (self .output ), self .cmd ))
168+
169+ # GET RESTORED PGDATA AND COMPARE
170+ if self .paranoia :
171+ pgdata_restored = self .pgdata_content (node .data_dir )
172+ self .compare_pgdata (pgdata , pgdata_restored )
173+
165174 node .slow_start ()
166175 full_result_new = node .execute ("postgres" , "SELECT * FROM t_heap" )
167176 self .assertEqual (full_result , full_result_new )
You can’t perform that action at this time.
0 commit comments