From d8a6073f6118062266df8ef77c5a7969a9ed8be7 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 22 Oct 2016 19:35:26 +0200 Subject: C++ tests update (2) - wait before lock Signed-off-by: Szczepan Zalega --- unittest/test2.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unittest') diff --git a/unittest/test2.cc b/unittest/test2.cc index b328c37..79417c6 100644 --- a/unittest/test2.cc +++ b/unittest/test2.cc @@ -50,6 +50,8 @@ TEST_CASE("test", "[test]") { strcpyT(p.password, "123123123"); EnableHiddenEncryptedPartition::CommandTransaction::run(stick, p); } + this_thread::sleep_for(1000ms); + stick10::LockDevice::CommandTransaction::run(stick); stick.disconnect(); } -- cgit v1.2.3