|
57 | 57 | """ |
58 | 58 |
|
59 | 59 |
|
60 | | -@pytest.mark.timeout(120) |
| 60 | +@pytest.mark.timeout(360) |
61 | 61 | @pytest.mark.num_validators(3) |
62 | 62 | async def test_consensus_lifecycle(node_cluster: NodeCluster) -> None: |
63 | 63 | """ |
@@ -110,7 +110,7 @@ async def test_consensus_lifecycle(node_cluster: NodeCluster) -> None: |
110 | 110 | # 2. Parent chain integrity - slot numbers strictly increase |
111 | 111 | # 3. Proposer assignment - round-robin matches slot % 3 |
112 | 112 | logger.info("Phase 2: Block production") |
113 | | - reached = await node_cluster.wait_for_slot(target_slot=1, timeout=25) |
| 113 | + reached = await node_cluster.wait_for_slot(target_slot=1, timeout=50) |
114 | 114 | diags = node_cluster.log_diagnostics("block-production") |
115 | 115 | checkpoint_history.append(diags) |
116 | 116 | assert reached, f"Block production stalled: head slots {[d.head_slot for d in diags]}" |
@@ -212,7 +212,7 @@ async def test_consensus_lifecycle(node_cluster: NodeCluster) -> None: |
212 | 212 | # |
213 | 213 | # After reaching slot 3, verify head consistency and block content. |
214 | 214 | logger.info("Phase 4: Continued block production") |
215 | | - reached = await node_cluster.wait_for_slot(target_slot=3, timeout=30) |
| 215 | + reached = await node_cluster.wait_for_slot(target_slot=10, timeout=300) |
216 | 216 | diags = node_cluster.log_diagnostics("continued-production") |
217 | 217 | checkpoint_history.append(diags) |
218 | 218 | assert reached, f"Continued production stalled: head slots {[d.head_slot for d in diags]}" |
|
0 commit comments