Skip to content

Commit c6035fd

Browse files
committed
fix helios tests now that put_state is not async
1 parent 930e764 commit c6035fd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sled-agent/src/instance.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2181,7 +2181,6 @@ mod tests {
21812181
// pretending we're InstanceManager::ensure_state, start our "instance"
21822182
// (backed by fakes and propolis_mock_server)
21832183
inst.put_state(put_tx, VmmStateRequested::Running)
2184-
.await
21852184
.expect("failed to send Instance::put_state");
21862185

21872186
// even though we ignore this result at instance creation time in
@@ -2275,7 +2274,6 @@ mod tests {
22752274
// pretending we're InstanceManager::ensure_state, try in vain to start
22762275
// our "instance", but no propolis server is running
22772276
inst.put_state(put_tx, VmmStateRequested::Running)
2278-
.await
22792277
.expect("failed to send Instance::put_state");
22802278

22812279
let timeout_fut = timeout(TIMEOUT_DURATION, put_rx);
@@ -2382,7 +2380,6 @@ mod tests {
23822380
// pretending we're InstanceManager::ensure_state, try in vain to start
23832381
// our "instance", but the zone never finishes installing
23842382
inst.put_state(put_tx, VmmStateRequested::Running)
2385-
.await
23862383
.expect("failed to send Instance::put_state");
23872384

23882385
// Timeout our future waiting for the instance-state-change at 1s. This

0 commit comments

Comments
 (0)