Set running_under_test for scripts.base.frameworks.logging.telemetry test

This commit is contained in:
Tim Wojtulewicz 2024-05-31 16:36:58 -07:00
parent 07d845b558
commit 00b24b043a

View file

@ -8,6 +8,9 @@
@load policy/frameworks/telemetry/log @load policy/frameworks/telemetry/log
# Force telemetry output to be sorted for test determinism
redef running_under_test = T;
global http_logs = 0; global http_logs = 0;
hook HTTP::log_policy(rec: HTTP::Info, id: Log::ID, filter: Log::Filter) hook HTTP::log_policy(rec: HTTP::Info, id: Log::ID, filter: Log::Filter)
{ {