Skip to content

Commit 9a2e607

Browse files
committed
fixup! fixup! Document per-test-relay-selection feature in docs/
1 parent 8e432c2 commit 9a2e607

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/test-manager/docs/config.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The configuration is assumed to exist in `$XDG_CONFIG_HOME/mullvad-test/config.j
2727
It is possible to configure which relay(s) should be selected on a test-per-test basis by providing the "test_locations"
2828
configuration option. If no explicit configuration is given, no assumption will be made from within the tests themselves.
2929

30-
The format is a list of maps, where the key is a [glob pattern](<https://en.wikipedia.org/wiki/Glob_(programming)>)
30+
The format is a list of maps with a single key-value pair, where the key is a [glob pattern](<https://en.wikipedia.org/wiki/Glob_(programming)>)
3131
that will be matched against the test name, and the value is a list of locations to use for the matching tests.
3232
The name of the locations are the same as for the `mullvad-cli`.
3333

@@ -45,8 +45,7 @@ The name of the locations are the same as for the `mullvad-cli`.
4545

4646
The above example will set the locations for the test `test_daita` to a custom list
4747
containing `se-got-wg-001` and `se-got-wg-002`. The `*` is a wildcard that will match
48-
any test name. The order of the list is important, as the first match will be used.
49-
The configuration is read from top-to-bottom, and the first match will be used.
48+
any test name. The configuration is read from top-to-bottom, and the first match will be used.
5049

5150
## Example configurations
5251

0 commit comments

Comments
 (0)