mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00

* origin/topic/robin/parallel-btest: Updating submodule(s). Adding group "comm" to communication tests for parallelizing execution with new btest version. This is in preparation for the merge with the parallel btest branch. Conflicts: cmake testing/btest/istate/pybroccoli.py testing/btest/scripts/base/frameworks/control/configuration_update.bro testing/btest/scripts/base/frameworks/control/id_value.bro testing/btest/scripts/base/frameworks/control/shutdown.bro testing/btest/scripts/base/frameworks/metrics/basic-cluster.bro
10 lines
548 B
Text
10 lines
548 B
Text
# @TEST-GROUP: comm
|
|
#
|
|
# @TEST-EXEC: btest-bg-run controllee BROPATH=$BROPATH:.. bro %INPUT frameworks/control/controllee Communication::listen_port=65530/tcp
|
|
# @TEST-EXEC: btest-bg-run controller BROPATH=$BROPATH:.. bro %INPUT frameworks/control/controller Control::host=127.0.0.1 Control::host_port=65530/tcp Control::cmd=shutdown
|
|
# @TEST-EXEC: btest-bg-wait 10
|
|
|
|
redef Communication::nodes = {
|
|
# We're waiting for connections from this host for control.
|
|
["control"] = [$host=127.0.0.1, $class="control", $events=Control::controller_events],
|
|
};
|