aboutsummaryrefslogtreecommitdiff
path: root/tests/perf-client/src
diff options
context:
space:
mode:
authorAdam Greig <[email protected]>2023-10-15 00:57:25 +0100
committerAdam Greig <[email protected]>2023-10-15 01:30:12 +0100
commit0621e957a0ddc7010d46b3ea3ddc8b9852bc8333 (patch)
treef6caefe939109e55a73e9141c736d2f6c20f51e8 /tests/perf-client/src
parent7559f9e5834799b041d899767ef4305dcfdf0181 (diff)
time: Update examples, tests, and other code to use new Timer::after_x convenience methods
Diffstat (limited to 'tests/perf-client/src')
-rw-r--r--tests/perf-client/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/perf-client/src/lib.rs b/tests/perf-client/src/lib.rs
index d709c7bd0..54762379a 100644
--- a/tests/perf-client/src/lib.rs
+++ b/tests/perf-client/src/lib.rs
@@ -16,7 +16,7 @@ pub struct Expected {
16pub async fn run<D: Driver>(stack: &Stack<D>, expected: Expected) { 16pub async fn run<D: Driver>(stack: &Stack<D>, expected: Expected) {
17 info!("Waiting for DHCP up..."); 17 info!("Waiting for DHCP up...");
18 while stack.config_v4().is_none() { 18 while stack.config_v4().is_none() {
19 Timer::after(Duration::from_millis(100)).await; 19 Timer::after_millis(100).await;
20 } 20 }
21 info!("IP addressing up!"); 21 info!("IP addressing up!");
22 22