Skip to content

Commit

Permalink
fix(qualification): Brought back to life qualification on staging and…
Browse files Browse the repository at this point in the history
… factsdb
  • Loading branch information
sasa-tomic committed Jan 4, 2024
1 parent f6ff288 commit 29f654a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions rs/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ spinners = "4.1.0"

[dev-dependencies]
tempfile = "3.3.0"
wiremock = "0.5.21"
2 changes: 1 addition & 1 deletion rs/cli/src/defaults.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub(crate) const DEFAULT_IC_ADMIN_VERSION: &str = "5058a1326d45303de376cd1a1dc5303fa27cdb07";
pub(crate) const DEFAULT_IC_ADMIN_VERSION: &str = "d3f153392f1307416aed2242982d9dca87d76918";
6 changes: 5 additions & 1 deletion rs/cli/src/ic_admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ mod tests {
use super::*;
use std::{io::Write, str::FromStr};
use tempfile::NamedTempFile;
use wiremock::MockServer;

#[ignore]
#[tokio::test]
Expand All @@ -667,9 +668,12 @@ oSMDIQBa2NLmSmaqjDXej4rrJEuEhKIz7/pGXpxztViWhB+X9Q==
},
];

// Start a background HTTP server on a random local port
let mock_server = MockServer::start().await;

for cmd in test_cases {
let cli = IcAdminWrapper {
nns_url: url::Url::from_str("http://localhost:8080").unwrap(),
nns_url: url::Url::from_str(&mock_server.uri()).unwrap(),
yes: false,
neuron: Neuron {
id: 3,
Expand Down

0 comments on commit 29f654a

Please sign in to comment.