Skip to content

Commit cc1f5f4

Browse files
Process 100% of pcaps (#1079)
* Process 100% of pcaps * Fix test * retrigger checks * Fix active test
1 parent d49bbe3 commit cc1f5f4

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

active/active_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func TestSkipFiles(t *testing.T) {
277277
}{
278278
{
279279
name: "pcap",
280-
successCount: 2,
280+
successCount: 11,
281281
failureCount: 0,
282282
},
283283
{

etl/globals.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,7 @@ var (
327327
// Map from data type to number of files to skip when processing said type.
328328
// It allows us process fewer archives when there is a very high volume of data.
329329
// TODO - this should be loaded from a config.
330-
dataTypeToSkipCount = map[DataType]int{
331-
PCAP: 9,
332-
}
330+
dataTypeToSkipCount = map[DataType]int{}
333331
)
334332

335333
/*******************************************************************************

etl/globals_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ func TestSkipCount(t *testing.T) {
403403
{
404404
name: "pcap",
405405
dataType: etl.PCAP,
406-
want: 9,
406+
want: 0,
407407
},
408408
{
409409
name: "invalid",

0 commit comments

Comments
 (0)