Skip to content

Commit f07c707

Browse files
committed
disable bin tests
1 parent fc09b35 commit f07c707

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

tests/clementine.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use citrea_e2e::{
77
test_case::{TestCase, TestCaseRunner},
88
Result,
99
};
10-
use tracing::debug;
10+
use tracing::info;
1111

1212
/// Integration test for Clementine gRPC clients.
1313
///
@@ -123,12 +123,17 @@ impl<const WITH_DOCKER: bool> TestCase for ClementineIntegrationTest<WITH_DOCKER
123123
use citrea_e2e::bitcoin::DEFAULT_FINALITY_DEPTH;
124124
// Mine a bunch of blocks on DA
125125
let da = f.bitcoin_nodes.get(0).unwrap();
126+
126127
let target_height = da.get_block_count().await?;
128+
if target_height < 100 {
129+
da.generate(100 - target_height).await?;
130+
}
131+
127132
// round down to nearest 100, HCP proves in 100 block batches
128133
let target_height = target_height / 100 * 100;
129134

130-
// finalize the start_height
131-
da.generate(DEFAULT_FINALITY_DEPTH).await?;
135+
// ensure target_height finalized
136+
da.generate(DEFAULT_FINALITY_DEPTH + 1).await?;
132137

133138
// Ask aggregator for entity statuses until HCP height catches up
134139
let mut attempts = 0;
@@ -150,7 +155,7 @@ impl<const WITH_DOCKER: bool> TestCase for ClementineIntegrationTest<WITH_DOCKER
150155
};
151156
let h = status.hcp_last_proven_height.unwrap_or(0) as u64;
152157
if h < target_height {
153-
debug!(
158+
info!(
154159
"entity {:?} behind, {h} (height) < {target_height} (target)",
155160
es.entity_id.unwrap()
156161
);
@@ -187,6 +192,7 @@ async fn test_clementine_integration_w_docker() -> Result<()> {
187192
}
188193

189194
#[tokio::test]
195+
#[ignore = "won't pass before Clementine releases again with fixes"]
190196
async fn test_clementine_integration_wo_docker() -> Result<()> {
191197
TestCaseRunner::new(ClementineIntegrationTest::<false>)
192198
.run()

0 commit comments

Comments
 (0)