Browse Source

[Test] Add tests for multimap combined scores

tags/2.6
Vsevolod Stakhov 3 years ago
parent
commit
90c781f9c6
2 changed files with 4 additions and 2 deletions
  1. 1
    1
      test/functional/cases/102_multimap.robot
  2. 3
    1
      test/functional/configs/multimap.conf

+ 1
- 1
test/functional/cases/102_multimap.robot View File

@@ -67,7 +67,7 @@ MAP - FROM

MAP - COMBINED IP MASK FROM
Scan File ${MESSAGE} IP=10.1.0.10 From=user@example.com
Expect Symbol COMBINED_MAP_AND
Expect Symbol With Score COMBINED_MAP_AND 10
Expect Symbol COMBINED_MAP_OR

MAP - COMBINED IP MASK ONLY

+ 3
- 1
test/functional/configs/multimap.conf View File

@@ -179,7 +179,9 @@ multimap {
selector = "from:domain";
}
}
expression = "from & ip"
expression = "from & ip";
score = 10;
prefilter = true;
}
COMBINED_MAP_OR {
type = "combined";

Loading…
Cancel
Save