File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616# vendor/
1717
1818# # Custom
19- .DS_Store
19+ .DS_Store
20+
21+ # # Test-related (should be fixed)
22+ dump.bin
23+ dump.txt
24+ dump1.txt
25+ dumpfiltererd.txt
26+ mdt_msg_samples /hexdump.bin
27+ models.txt
28+ pipeline.log
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ BINARY=pipeline
44include skeleton/pipeline.mk
55
66# Setup pretest as a prerequisite of tests.
7- test : pretest
8- pretest :
9- @echo Setting up zookeeper, kafka . Docker required.
7+ testall : pretestinfra
8+ pretestinfra :
9+ @echo Setting up Zookeeper and Kafka . Docker required.
1010 tools/test/run.sh
Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ bin/$(BINARY): $(SOURCES)
3838generated_source :
3939 go generate -x
4040
41+ .PHONY : testall
42+ testall :
43+ go test -v -tags=integration -run=. -bench=. $(PROFILE )
44+
4145.PHONY : test
4246test :
4347 go test -v -run=. -bench=. $(PROFILE )
Original file line number Diff line number Diff line change 55// All rights reserved.
66//
77//
8+ // +build integration
89
910package main
1011
1112import (
1213 "encoding/json"
1314 "fmt"
14- "github.com/dlintw/goconf"
1515 "strings"
1616 "testing"
1717 "time"
18+
19+ "github.com/dlintw/goconf"
1820)
1921
2022var kmod kafkaOutputModule
You can’t perform that action at this time.
0 commit comments