mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 10:49:03 +08:00
fix: tests fixed
This commit is contained in:
parent
bac717e9e6
commit
7367f8dd4b
@ -89,7 +89,7 @@ var buildProcessorTestData = []struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestBuildLogParsingProcessors(t *testing.T) {
|
func TestBuildLogParsingProcessors(t *testing.T) {
|
||||||
for , test := range buildProcessorTestData {
|
for _, test := range buildProcessorTestData {
|
||||||
Convey(test.Name, t, func() {
|
Convey(test.Name, t, func() {
|
||||||
err := buildLogParsingProcessors(test.agentConf, test.pipelineProcessor)
|
err := buildLogParsingProcessors(test.agentConf, test.pipelineProcessor)
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
@ -150,7 +150,7 @@ var BuildLogsPipelineTestData = []struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestBuildLogsPipeline(t *testing.T) {
|
func TestBuildLogsPipeline(t *testing.T) {
|
||||||
for , test := range BuildLogsPipelineTestData {
|
for _, test := range BuildLogsPipelineTestData {
|
||||||
Convey(test.Name, t, func() {
|
Convey(test.Name, t, func() {
|
||||||
v, err := buildLogsProcessors(test.currentPipeline, test.logsPipeline)
|
v, err := buildLogsProcessors(test.currentPipeline, test.logsPipeline)
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user