Commit 807c0ee2 authored by Pablo Gil Pereira's avatar Pablo Gil Pereira
Browse files

Fix block test

parent d8801e98
Pipeline #4892 failed with stages
in 1 minute and 27 seconds
...@@ -223,7 +223,7 @@ TEST_F(PrrtBlockTest, NoCodingConfigured) ...@@ -223,7 +223,7 @@ TEST_F(PrrtBlockTest, NoCodingConfigured)
uint32_t j = 0; uint32_t j = 0;
PrrtBlock_encode(encBlock, &base); PrrtBlock_encode(encBlock, &base);
uint32_t pkt_count = List_count(encBlock->dataPackets); uint32_t pkt_count = encBlock->dataPacketCount;
for(j = 0; j < pkt_count; j++) { for(j = 0; j < pkt_count; j++) {
PrrtPacket *data_pkt = PrrtBlock_get_first_data(encBlock); PrrtPacket *data_pkt = PrrtBlock_get_first_data(encBlock);
ASSERT_EQ(refPackets[j]->sequenceNumber, data_pkt->sequenceNumber); ASSERT_EQ(refPackets[j]->sequenceNumber, data_pkt->sequenceNumber);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment