You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/user/configuration.sections.rst
+36-13Lines changed: 36 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,34 +20,47 @@ Set general configuration settings.
20
20
debug: false # (bool)
21
21
log_level: "INFO"# (str)
22
22
23
-
batch
24
-
-----
23
+
config:multiprocessing
24
+
......................
25
25
26
-
Set batch settings.
26
+
Multiprocessing configuration settings
27
27
28
28
.. code-block:: yaml
29
29
30
-
batch:
31
-
duration: 1800# (float)
32
-
default_options: [] # (list of str)
30
+
config:
31
+
multiprocessing:
32
+
context: spawn
33
+
max_tasks_per_child: 1
33
34
34
-
plugins
35
-
-------
35
+
config:plugins
36
+
..............
36
37
37
38
Plugins to load
38
39
39
40
.. code-block:: yaml
40
41
41
-
plugins: [] # (list of str)
42
+
config:
43
+
plugins: [] # (list of str)
44
+
45
+
config:polling_frequency
46
+
........................
47
+
48
+
Frequency to poll running tests from completion
49
+
50
+
.. code-block:: yaml
51
+
52
+
config:
53
+
polling_freqeuncy:
54
+
testcase: 0.05
42
55
43
-
test:timeout
44
-
------------
56
+
config:timeout
57
+
..............
45
58
46
59
Set test timeouts based on :ref:`keywords<directive-keywords>`. The ``fast`` and ``long`` timeouts are applied to tests having ``fast`` or ``long`` :ref:`keywords<directive-keywords>`, otherwise the ``default`` timeout is applied.
47
60
48
61
.. code-block:: yaml
49
62
50
-
test:
63
+
config:
51
64
timeout:
52
65
fast: T # (number or str) default: 30s
53
66
long: T # (number or str) default: 10m
@@ -59,12 +72,22 @@ Set test timeouts based on :ref:`keywords<directive-keywords>`. The ``fast`` an
59
72
60
73
.. code-block:: yaml
61
74
62
-
test:
75
+
config:
63
76
timeout:
64
77
unit_test: 1s
65
78
66
79
The same can be accomplished on the command line: ``canary -c test:timeout:unit_test:1s ...``.
0 commit comments