Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Update timeout for the long_echo. #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions u2f-tests/HID/HIDTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,11 @@ void test_LongEcho() {
// Expected transfer times for 2ms bInterval.
// We do not want fobs to be too slow or too agressive.
CHECK_GE(sent, .020);
CHECK_LE(sent, .075);
// Increased the time out to 2 seconds
CHECK_LE(sent, 2);
CHECK_GE(received, .020);
CHECK_LE(received, .075);
// Increased the time out to 2 seconds
CHECK_LE(received, 2);
}

// Execute WINK, if implemented.
Expand Down