From 884e1d7a6b63bd4e6312d9aebebce32a47aa6469 Mon Sep 17 00:00:00 2001 From: Brice Fernandes Date: Thu, 9 Nov 2017 15:42:02 +0000 Subject: [PATCH] Document test runner feature to pick number of hosts --- test/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/test/README.md b/test/README.md index a3e29f1c..10660a0c 100644 --- a/test/README.md +++ b/test/README.md @@ -11,6 +11,7 @@ The `Vagrantfile` in this directory constructs three such VMs. If you are [building Weave Net using Vagrant](https://www.weave.works/docs/net/latest/building/), it is recommended to run the tests from the build VM and not the host. +> **NOTE WELL** The number of hosts required by a test must be specified in the test name. For example, `000_some_test.sh` will use one host, while `001_some_other_3_test.sh` will use three hosts. The number of hosts must be the last part of the test name before the `_test.sh` prefix. See `/tools/runner/runner.go` for details ## Running tests