Skip to content

Commit aae6fe3

Browse files
committed
Changed max length of messsage in test to match Client library
1 parent 98cc34c commit aae6fe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_script_command_interface.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ class ScriptCommandInterfaceTest : public ::testing::Test
6464

6565
void readMessage(int32_t& command, std::vector<int32_t>& message)
6666
{
67-
// Max message length is 26
68-
uint8_t buf[sizeof(int32_t) * 26];
67+
// Max message length is 28
68+
uint8_t buf[sizeof(int32_t) * 28];
6969
uint8_t* b_pos = buf;
7070
size_t read = 0;
71-
size_t remainder = sizeof(int32_t) * 26;
71+
size_t remainder = sizeof(int32_t) * 28;
7272
while (remainder > 0)
7373
{
7474
if (!TCPSocket::read(b_pos, remainder, read))

0 commit comments

Comments
 (0)