increase test limit
fsfw/fsfw/pipeline/pr-development This commit looks good Details

This commit is contained in:
Robin Müller 2022-02-10 14:08:52 +01:00
parent bc0100ee08
commit 4f87e24f60
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ TEST_CASE("Command Executor", "[cmd-exec]") {
result = cmdExecutor.check(bytesHaveBeenRead);
REQUIRE(result != CommandExecutor::COMMAND_ERROR);
usleep(500);
REQUIRE(limitIdx < 20);
REQUIRE(limitIdx < 50);
}
limitIdx = 0;
CHECK(bytesHaveBeenRead == true);
@ -102,7 +102,7 @@ TEST_CASE("Command Executor", "[cmd-exec]") {
result = cmdExecutor.check(bytesHaveBeenRead);
REQUIRE(result != CommandExecutor::COMMAND_ERROR);
usleep(500);
REQUIRE(limitIdx < 20);
REQUIRE(limitIdx < 50);
}
REQUIRE(result == HasReturnvaluesIF::RETURN_FAILED);
REQUIRE(cmdExecutor.getLastError() == 1);