Skip to content

Commit 64e8b99

Browse files
committed
Refs #21197. Fix test
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
1 parent 65d86d4 commit 64e8b99

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/unittest/rtps/builtin/BuiltinDataSerializationTests.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,14 @@ TEST(BuiltinDataSerializationTests, msg_with_product_version)
170170
{
171171
// Encapsulation
172172
0x00, 0x03, 0x00, 0x00,
173+
// PID_VENDORID
174+
0x16, 0x00, 0x04, 0x00,
175+
0x01, 0x0f, 0x00, 0x00,
173176
// PID_PRODUCT_VERSION
174-
0x00, 0x80, 4, 0,
177+
0x00, 0x80, 0x04, 0x00,
175178
FASTDDS_VERSION_MAJOR, FASTDDS_VERSION_MINOR, FASTDDS_VERSION_MICRO, 0,
176179
// PID_SENTINEL
177-
0x01, 0, 0, 0
180+
0x01, 0x00, 0x00, 0x00
178181
};
179182

180183
uint32_t buffer_length = static_cast<uint32_t>(sizeof(data_buffer));

0 commit comments

Comments
 (0)