Skip to content

Commit

Permalink
Boot test should only use the provisioned server
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasPius committed Apr 9, 2024
1 parent affd1b2 commit f9cdc1c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/boot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ async fn boot_configuration() {

let robot = AsyncRobot::default();

let servers = robot.list_servers().await.unwrap();
info!("{servers:#?}");
let server = common::provisioned_server().await;

if let Some(server) = servers.first() {
let config = robot.get_boot_config(server.id).await.unwrap();
info!("{config:#?}");
}
let config = robot.get_boot_config(server.id).await.unwrap();
info!("{config:#?}");
}

0 comments on commit f9cdc1c

Please sign in to comment.