Fix Packet receiver tests

This commit is contained in:
2021-07-06 11:32:16 +02:00
parent 644d6f4f6a
commit f8b9a7a518
+8 -1
View File
@@ -1,5 +1,4 @@
#include <netinet/in.h>
#include <jungfrau.hpp>
#include "gtest/gtest.h"
#include "mock/udp.hpp"
#include "PacketUdpReceiver.hpp"
@@ -7,8 +6,16 @@
#include <thread>
#include <chrono>
#ifdef USE_EIGER
#include "eiger.hpp"
#else
#include "jungfrau.hpp"
#endif
using namespace std;
const int N_PACKETS_PER_FRAME = 128;
TEST(PacketUdpReceiver, simple_recv)
{
uint16_t udp_port = MOCK_UDP_PORT;