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):
149
149
page_result = node .execute ("postgres" , "SELECT * FROM t_heap" )
150
150
page_backup_id = self .backup_node (
151
151
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 )
153
156
154
157
# Drop Node
155
158
node .cleanup ()
@@ -162,6 +165,12 @@ def test_page_stream(self):
162
165
backup_id = full_backup_id , options = ["-j" , "4" ]),
163
166
'\n Unexpected Error Message: {0}\n '
164
167
' 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
+
165
174
node .slow_start ()
166
175
full_result_new = node .execute ("postgres" , "SELECT * FROM t_heap" )
167
176
self .assertEqual (full_result , full_result_new )
You can’t perform that action at this time.
0 commit comments