[lowpan][tests] Fix for a missing dependency and a typo.
Test: fx test lowpan-tests
Change-Id: I6cdacdc0dc23f3af6cb66322665d8572f59957b7
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/402031
Commit-Queue: Robert Quattlebaum <rquattle@google.com>
Reviewed-by: Jiaming (Charlie) Wang <jiamingw@google.com>
Testability-Review: Jiaming (Charlie) Wang <jiamingw@google.com>
diff --git a/src/connectivity/lowpan/tests/BUILD.gn b/src/connectivity/lowpan/tests/BUILD.gn
index 4f1f48e..dfa50d6 100644
--- a/src/connectivity/lowpan/tests/BUILD.gn
+++ b/src/connectivity/lowpan/tests/BUILD.gn
@@ -11,6 +11,7 @@
deps = [
"integration:lowpan_integration_tests",
+ "//src/connectivity/lowpan/drivers/lowpan-dummy-driver",
"//src/connectivity/lowpan/drivers/lowpan-dummy-driver:tests",
"//src/connectivity/lowpan/drivers/lowpan-spinel-driver:tests",
"//src/connectivity/lowpan/drivers/spinel_spi_driver:tests",
diff --git a/src/connectivity/lowpan/tests/integration/src/service_driver_interaction.rs b/src/connectivity/lowpan/tests/integration/src/service_driver_interaction.rs
index 7780ea6..8b064e8 100644
--- a/src/connectivity/lowpan/tests/integration/src/service_driver_interaction.rs
+++ b/src/connectivity/lowpan/tests/integration/src/service_driver_interaction.rs
@@ -36,7 +36,7 @@
.watch_devices()
.err_into::<Error>()
.on_timeout(Time::after(DEFAULT_TIMEOUT), || {
- Err(format_err!("Timeout waiting for lookup.get_devices()"))
+ Err(format_err!("Timeout waiting for lookup.watch_devices()"))
})
.await
.context("Initial call to lookup.watch_devices() failed")?;
@@ -56,7 +56,7 @@
.watch_devices()
.err_into::<Error>()
.on_timeout(Time::after(DEFAULT_TIMEOUT), || {
- Err(format_err!("Timeout waiting for lookup.get_devices()"))
+ Err(format_err!("Timeout waiting for lookup.watch_devices()"))
})
.await
.context("Second call to lookup.watch_devices() failed")?;
@@ -76,6 +76,7 @@
device: Some(server),
device_extra: Some(server_extra),
device_test: Some(server_test),
+ ..Protocols::empty()
},
)
.err_into::<Error>()