Skip to content

Commit

Permalink
ci: Fix DistributedTests.test_run_queries_with_denylisted_query test (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
Smjert authored Oct 7, 2023
1 parent b6daf6f commit 8e8d596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osquery/distributed/tests/distributed_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ TEST_F(DistributedTests, test_run_queries_with_denylisted_query) {
{
"queries": {
"q1": "SELECT * FROM osquery_info;",
"q2": "SELECT * FROM osquery_info WHERE version > '5.3.0';"
"q2": "SELECT * FROM osquery_info WHERE CAST(split(version, '.', 0) as integer) >= 5"
}
}
)json";
Expand Down

0 comments on commit 8e8d596

Please sign in to comment.