Skip to content

Commit

Permalink
NETOBSERV-1474: change dup mode to use list as the default
Browse files Browse the repository at this point in the history
Signed-off-by: Mohamed Mahmoud <mmahmoud@redhat.com>
  • Loading branch information
msherif1234 committed Feb 19, 2024
1 parent d3053bc commit dd346b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions controllers/consoleplugin/consoleplugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ func TestConfigMapContent(t *testing.T) {
assert.NotEmpty(config.Frontend.Columns)
assert.NotEmpty(config.Frontend.Filters)
assert.Equal(config.Frontend.Sampling, 1)
assert.Equal(config.Frontend.Deduper.Mark, true)
assert.Equal(config.Frontend.Deduper.Merge, false)
assert.Equal(config.Frontend.Deduper.Mark, false)
assert.Equal(config.Frontend.Deduper.Merge, true)
}

func TestConfigMapError(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions controllers/ebpf/agent_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ const (
const (
EnvDedupeJustMark = "DEDUPER_JUST_MARK"
EnvDedupeMerge = "DEDUPER_MERGE"
DedupeJustMarkDefault = "true"
DedupeMergeDefault = "false"
DedupeJustMarkDefault = "false"
DedupeMergeDefault = "true"
)

type reconcileAction int
Expand Down
1 change: 0 additions & 1 deletion controllers/flp/flp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,6 @@ func TestConfigMapShouldDeserializeAsJSONWithLokiStack(t *testing.T) {
"DstK8S_Type",
"K8S_FlowLayer",
"_RecordType",
"FlowDirection",
}, lokiCfg.Labels)
assert.Equal(`{app="netobserv-flowcollector"}`, fmt.Sprintf("%v", lokiCfg.StaticLabels))

Expand Down

0 comments on commit dd346b8

Please sign in to comment.