Skip to content
This repository was archived by the owner on Mar 21, 2023. It is now read-only.

Commit 3cdb4f1

Browse files
author
Jochen Schalanda
committed
Use correct source for pcap file (nprobe -> netgraph)
1 parent 7615f80 commit 3cdb4f1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/test/java/org/graylog/plugins/netflow/codecs/NetFlowCodecTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ public void pcap_pmacctd_NetFlowV9() throws Exception {
318318
}
319319

320320
@Test
321-
public void pcap_nprobe_NetFlowV5() throws Exception {
321+
public void pcap_netgraph_NetFlowV5() throws Exception {
322322
final List<Message> allMessages = new ArrayList<>();
323-
try (InputStream inputStream = Resources.getResource("netflow-data/nprobe-netflow5.pcap").openStream()) {
323+
try (InputStream inputStream = Resources.getResource("netflow-data/netgraph-netflow5.pcap").openStream()) {
324324
final Pcap pcap = Pcap.openStream(inputStream);
325325
pcap.loop(packet -> {
326326
if (packet.hasProtocol(Protocol.UDP)) {

src/test/java/org/graylog/plugins/netflow/v5/NetFlowV5ParserTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ public void pcap_pmacctd_NetFlowV5() throws Exception {
168168
}
169169

170170
@Test
171-
public void pcap_nprobe_NetFlowV5() throws Exception {
171+
public void pcap_netgraph_NetFlowV5() throws Exception {
172172
final List<NetFlowV5Record> allRecords = new ArrayList<>();
173-
try (InputStream inputStream = Resources.getResource("netflow-data/nprobe-netflow5.pcap").openStream()) {
173+
try (InputStream inputStream = Resources.getResource("netflow-data/netgraph-netflow5.pcap").openStream()) {
174174
final Pcap pcap = Pcap.openStream(inputStream);
175175
pcap.loop(packet -> {
176176
if (packet.hasProtocol(Protocol.UDP)) {
File renamed without changes.

0 commit comments

Comments
 (0)