Skip to content

Commit 6fb8e4b

Browse files
committed
increase timeout to 60s
Signed-off-by: Eval EXEC <[email protected]>
1 parent 3d72831 commit 6fb8e4b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/src/specs/indexer/basic.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)