increase allowed read bytes

This commit is contained in:
Robin Müller 2022-03-28 15:07:46 +02:00
parent f598f7030f
commit b7a316008a
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -82,7 +82,7 @@ TEST_CASE("Command Executor", "[cmd-exec]") {
readBytes = 0; readBytes = 0;
sizesFifo.retrieve(&readBytes); sizesFifo.retrieve(&readBytes);
// That's about the size of the reply // That's about the size of the reply
bool beTrue = (readBytes > 200) and (readBytes < 300); bool beTrue = (readBytes > 200) and (readBytes < 400);
REQUIRE(beTrue); REQUIRE(beTrue);
uint8_t largerReadBuffer[1024] = {}; uint8_t largerReadBuffer[1024] = {};
outputBuffer.readData(largerReadBuffer, readBytes); outputBuffer.readData(largerReadBuffer, readBytes);