Make Spicy hook execution order deterministic in test

This commit is contained in:
Benjamin Bannier 2024-11-06 09:42:33 +01:00
parent f47a089576
commit f57955321e

View file

@ -30,7 +30,7 @@ public type Banner = unit {
protocol analyzer spicy::SSH over TCP: protocol analyzer spicy::SSH over TCP:
parse originator with SSH::Banner; parse originator with SSH::Banner;
on SSH::Banner::%error(msg: string) -> event Banner::error(msg); on SSH::Banner::%error(msg: string) -> event Banner::error(msg) &priority=2;
on SSH::Banner::%error() -> event Banner::error("n/a"); on SSH::Banner::%error() -> event Banner::error("n/a") &priority=1;
# @TEST-END-FILE # @TEST-END-FILE