Skip to content

Commit 743fff7

Browse files
committed
revert CatalystVisitorTest, change done in another PR
1 parent 731e2ea commit 743fff7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/teragrep/pth10/CatalystVisitorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void searchQueryWithNotTest() {
108108
matches = "true"
109109
)
110110
void searchQueryWithOrTest() {
111-
final String query = "(index!=strawberry sourcetype=example:strawberry:strawberry host=loadbalancer.example.com) OR (index=* host=firewall.example.com earliest=2021-01-26T00:00:00Z latest=2021-04-26T00:00:00Z \"Denied\")";
111+
final String query = "(index!=strawberry sourcetype=example:strawberry:strawberry host=loadbalancer.example.com) OR (index=* host=firewall.example.com earliest=2021-01-26T00:00:00z latest=2021-04-26T00:00:00z \"Denied\")";
112112
final String expected = "(((NOT RLIKE(index, (?i)^strawberry$)) AND (RLIKE(sourcetype, (?i)^example:strawberry:strawberry) AND RLIKE(host, (?i)^loadbalancer.example.com))) OR (RLIKE(index, (?i)^.*$) AND (((RLIKE(host, (?i)^firewall.example.com) AND (_time >= from_unixtime(1611612000, yyyy-MM-dd HH:mm:ss))) AND (_time < from_unixtime(1619384400, yyyy-MM-dd HH:mm:ss))) AND RLIKE(_raw, (?i)^.*\\QDenied\\E.*))))";
113113
this.streamingTestUtil.performDPLTest(query, this.testFile, res -> {
114114
DPLParserCatalystContext ctx = this.streamingTestUtil.getCtx();

0 commit comments

Comments
 (0)