Added Update method to report on dbus
- Update method, updates timestamp and readings
Tested:
- Added new unit tests covering update method
- All existing unit tests are passing
Change-Id: I6b3829126d9060dbaf436cbf8e6917294dc03134
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
diff --git a/tests/src/dbus_environment.cpp b/tests/src/dbus_environment.cpp
index ab749db..71568f9 100644
--- a/tests/src/dbus_environment.cpp
+++ b/tests/src/dbus_environment.cpp
@@ -73,7 +73,7 @@
bool DbusEnvironment::waitForFuture(std::string_view name,
std::chrono::milliseconds timeout)
{
- return waitForFuture(getFuture(name), timeout).value_or(false);
+ return waitForFuture(getFuture(name), timeout);
}
std::future<bool> DbusEnvironment::getFuture(std::string_view name)