File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ impl Spec for RichIndexerUncleBlockBug {
3939 settings. temporary = true ;
4040 settings. username = "postgres" . to_string ( ) ;
4141 settings. password = "postgres" . to_string ( ) ;
42+ settings. timeout = Some ( Duration :: from_secs ( 60 ) ) ;
4243
4344 // Enable detailed PostgreSQL logging to capture the bug
4445 let configs = [
@@ -55,11 +56,11 @@ impl Spec for RichIndexerUncleBlockBug {
5556 }
5657
5758 let mut postgresql = PostgreSQL :: new ( settings. clone ( ) ) ;
58- // postgresql.setup().expect("Failed to setup PostgreSQL");
59- // postgresql.start().expect("Failed to start PostgreSQL");
60- // postgresql
61- // .create_database("ckb_rich_indexer_uncle_test")
62- // .unwrap();
59+ postgresql. setup ( ) . expect ( "Failed to setup PostgreSQL" ) ;
60+ postgresql. start ( ) . expect ( "Failed to start PostgreSQL" ) ;
61+ postgresql
62+ . create_database ( "ckb_rich_indexer_uncle_test" )
63+ . unwrap ( ) ;
6364
6465 info ! (
6566 "PostgreSQL started on port {} with detailed logging" ,
You can’t perform that action at this time.
0 commit comments