<#629 Fix expired distributed queries and enhance ...
# osctrl
g
#629 Fix expired distributed queries and enhance testing Pull request opened by zhuoyuan-liu When a query is marked as expired, the relationship in the
node_queries
table isn't updated, causing osquery nodes to still receive expired queries. Address a bug related to expired distributed queries and implement tests for the
SetNodeQueriesAsExpired
function, including a test for invalid query IDs. Refactor existing tests for improved clarity and maintainability. jmpsec/osctrl