@@ -88,7 +88,7 @@ def test_checkdb_amcheck_only_sanity(self):
88
88
'--amcheck' ,
89
89
'--skip-block-validation' ,
90
90
'--log-level-file=verbose' ,
91
- '-d' , 'postgres' ,'-p' , str (node .port )])
91
+ '-d' , 'postgres' , '-p' , str (node .port )])
92
92
# we should die here because exception is what we expect to happen
93
93
self .assertEqual (
94
94
1 , 0 ,
@@ -202,7 +202,8 @@ def test_checkdb_amcheck_only_sanity(self):
202
202
'ERROR: Checkdb --amcheck failed' ,
203
203
log_file_content )
204
204
self .assertIn (
205
- "WARNING: Thread [1]. Amcheck failed for index: 'public.t_heap_id_idx':" ,
205
+ "WARNING: Thread [1]. Amcheck failed in database 'postgres' "
206
+ "for index: 'public.t_heap_id_idx':" ,
206
207
log_file_content )
207
208
self .assertIn (
208
209
'ERROR: could not open relation with OID' ,
@@ -333,11 +334,13 @@ def test_basic_checkdb_amcheck_only_sanity(self):
333
334
with open (log_file_path ) as f :
334
335
log_file_content = f .read ()
335
336
self .assertIn (
336
- "WARNING: Thread [1]. Amcheck failed for index: 'public.pgbench_accounts_pkey':" ,
337
+ "WARNING: Thread [1]. Amcheck failed in database 'db1' "
338
+ "for index: 'public.pgbench_accounts_pkey':" ,
337
339
log_file_content )
338
340
339
341
self .assertIn (
340
- "WARNING: Thread [1]. Amcheck failed for index: 'public.some_index':" ,
342
+ "WARNING: Thread [1]. Amcheck failed in database 'db2' "
343
+ "for index: 'public.some_index':" ,
341
344
log_file_content )
342
345
343
346
self .assertIn (
0 commit comments