Skip to content

Commit

Permalink
fix: Builds with --features=monitoring_prom
Browse files Browse the repository at this point in the history
  • Loading branch information
jbencin committed Jan 17, 2025
1 parent f697f8d commit d5304f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions testnet/stacks-node/src/tests/nakamoto_integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ fn simple_neon_integration() {

let (mut naka_conf, _miner_account) = naka_neon_integration_conf(None);
let prom_bind = "127.0.0.1:6000".to_string();
naka_conf.node.prometheus_bind = Some(prom_bind);
naka_conf.node.prometheus_bind = Some(prom_bind.clone());
naka_conf.miner.wait_on_interim_blocks = Duration::from_secs(5);
let sender_sk = Secp256k1PrivateKey::new();
// setup sender + recipient for a test stx transfer
Expand Down Expand Up @@ -6264,7 +6264,7 @@ fn signer_chainstate() {
let (mut naka_conf, _miner_account) = naka_neon_integration_conf(None);
let prom_bind = "127.0.0.1:6000".to_string();
let http_origin = format!("http://{}", &naka_conf.node.rpc_bind);
naka_conf.node.prometheus_bind = Some(prom_bind);
naka_conf.node.prometheus_bind = Some(prom_bind.clone());
naka_conf.miner.wait_on_interim_blocks = Duration::from_secs(1);
let sender_sk = Secp256k1PrivateKey::new();
// setup sender + recipient for a test stx transfer
Expand Down Expand Up @@ -6854,7 +6854,7 @@ fn continue_tenure_extend() {
let mut signers = TestSigners::default();
let (mut naka_conf, _miner_account) = naka_neon_integration_conf(None);
let prom_bind = "127.0.0.1:6000".to_string();
naka_conf.node.prometheus_bind = Some(prom_bind);
naka_conf.node.prometheus_bind = Some(prom_bind.clone());
naka_conf.miner.wait_on_interim_blocks = Duration::from_secs(1);
naka_conf.connection_options.block_proposal_max_age_secs = u64::MAX;
let http_origin = naka_conf.node.data_url.clone();
Expand Down
2 changes: 1 addition & 1 deletion testnet/stacks-node/src/tests/neon_integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ fn bitcoind_integration_test() {
let prom_port = gen_random_port();
let localhost = "127.0.0.1";
let prom_bind = format!("{localhost}:{prom_port}");
conf.node.prometheus_bind = Some(prom_bind);
conf.node.prometheus_bind = Some(prom_bind.clone());

conf.burnchain.max_rbf = 1000000;

Expand Down

0 comments on commit d5304f8

Please sign in to comment.