diff --git a/src/fleet/coord/hosts.rs b/src/fleet/coord/hosts.rs
index c1cf2ba1f..37c1aa5b0 100644
--- a/src/fleet/coord/hosts.rs
+++ b/src/fleet/coord/hosts.rs
@@ -1293,15 +1293,15 @@ mod tests {
#[test]
fn describe_answers_parse_to_hosts_with_their_market() {
let xml = r#"-
-
- i-0000000000000000a
16running
+ - i-0123456789abcdef0
16running
spot- Purposefcvm-fleet-host
- - i-0000000000000000b
0pending
+ - i-1234567890abcdef0
0pending
"#;
assert_eq!(
parse_hosts(xml),
vec![
- host("i-0000000000000000a", "running", Market::Spot),
- host("i-0000000000000000b", "pending", Market::OnDemand),
+ host("i-0123456789abcdef0", "running", Market::Spot),
+ host("i-1234567890abcdef0", "pending", Market::OnDemand),
]
);
}
@@ -1312,14 +1312,14 @@ mod tests {
fn describe_answers_parse_by_item_whatever_the_field_order() {
let xml = r#"-
16runningspot
- - Purposefcvm-fleet-host
i-0000000000000000a
- - i-0000000000000000b
0pending
+ - Purposefcvm-fleet-host
i-0123456789abcdef0
+ - i-1234567890abcdef0
0pending
"#;
assert_eq!(
parse_hosts(xml),
vec![
- host("i-0000000000000000a", "running", Market::Spot),
- host("i-0000000000000000b", "pending", Market::OnDemand),
+ host("i-0123456789abcdef0", "running", Market::Spot),
+ host("i-1234567890abcdef0", "pending", Market::OnDemand),
]
);
}
diff --git a/tests/test_fleet_coord.rs b/tests/test_fleet_coord.rs
index 2b799333d..c4921ba3c 100644
--- a/tests/test_fleet_coord.rs
+++ b/tests/test_fleet_coord.rs
@@ -3424,7 +3424,7 @@ async fn fake_ec2_api(api: FakeEc2Api) -> String {
if spot && !api.spot_capacity.contains(®ion) {
return (StatusCode::OK, "fleet-0- spotUnfulfillableCapacityUnable to fulfill capacity due to your request configuration.
".into());
}
- (StatusCode::OK, "fleet-1- i-0fedcba9876543210
".into())
+ (StatusCode::OK, "fleet-1- i-1234567890abcdef0
".into())
}
_ => error("InvalidAction"),
}
@@ -3475,7 +3475,7 @@ async fn the_aws_host_driver_launches_through_an_instant_fleet() {
.launch("us-east-1", Market::OnDemand, 1, "token-od")
.await
.unwrap();
- assert_eq!(od.ids, vec!["i-0fedcba9876543210".to_string()]);
+ assert_eq!(od.ids, vec!["i-1234567890abcdef0".to_string()]);
let calls = api.calls.lock().unwrap().clone();
// The template's type is read once and reused for the second launch.
let reads: Vec<_> = calls