From 2f5becf8b250fdbc415ec4751b51a4442e313e69 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 17 Aug 2024 11:08:59 +0200 Subject: [PATCH] doc: update section on transport protocol Simplify and add paragraph on how to select proto from test-sh. Signed-off-by: Joachim Wiberg --- doc/testing.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/testing.md b/doc/testing.md index e7b6c458..7c940ce9 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -256,13 +256,20 @@ the whole suite) with identical topology mappings: $ make PYTHONHASHSEED=3773822171 INFIX_TESTS=case/ietf_system/hostname.py test -### Determinstic use of communication protocol (NETCONF/RESTCONF) +### Deterministic Transport Protocol -By default the protocol will be chosen randomly. If you supply a -`PYTHONHASHSEED` as described above, you will get the same protocol -chosen. If you want to choose the communcation protocol: +By default, the communication transport protocol (NETCONF/RESTCONF) is +chosen randomly. If you supply a `PYTHONHASHSEED` as described above, +you get the same protocol used for that hash. But if you want to choose +the protocol, add extra arguments to Infamy: $ make INFAMY_EXTRA_ARGS="--transport=restconf" INFIX_TESTS=case/ietf_system/hostname.py test +or, when running interactively: + + $ make test-sh + 09:08:17 infamy0:test # ./9pm/9pm.py -o "--transport=restconf" case/ietf_system/hostname.py + + [9PM]: https://github.com/rical/9pm [Qeneth]: https://github.com/wkz/qeneth