summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-11-05 01:41:32 +0100
committerRobert Hensing <robert@roberthensing.nl>2021-11-05 02:41:25 +0100
commit698fb089d8276ac6907ae3a13ee1933a59e12112 (patch)
treeffde097c8a1a01bc0d2832423ac2e7accacca73e /nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
parentbce05e3b6adab06eedff7cf5813d0936c4f9c5d2 (diff)
downloadnixpkgs-698fb089d8276ac6907ae3a13ee1933a59e12112.tar
nixpkgs-698fb089d8276ac6907ae3a13ee1933a59e12112.tar.gz
nixpkgs-698fb089d8276ac6907ae3a13ee1933a59e12112.tar.bz2
nixpkgs-698fb089d8276ac6907ae3a13ee1933a59e12112.tar.lz
nixpkgs-698fb089d8276ac6907ae3a13ee1933a59e12112.tar.xz
nixpkgs-698fb089d8276ac6907ae3a13ee1933a59e12112.tar.zst
nixpkgs-698fb089d8276ac6907ae3a13ee1933a59e12112.zip
nixosTest: Document stdout waiting behavior
Diffstat (limited to 'nixos/doc/manual/from_md/release-notes/rl-2111.section.xml')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2111.section.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
index 121d9e4ad4b..39251105ab7 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
@@ -425,6 +425,23 @@
     <itemizedlist>
       <listitem>
         <para>
+          The NixOS VM test framework,
+          <literal>pkgs.nixosTest</literal>/<literal>make-test-python.nix</literal>,
+          now requires non-terminating commands such as
+          <literal>succeed(&quot;foo &amp;&quot;)</literal> to close
+          stdout. This can be done with a redirect such as
+          <literal>succeed(&quot;foo &gt;&amp;2 &amp;&quot;)</literal>.
+          This breaking change was necessitated by a race condition
+          causing tests to fail or hang. It applies to all methods that
+          invoke commands on the nodes, including
+          <literal>execute</literal>, <literal>succeed</literal>,
+          <literal>fail</literal>,
+          <literal>wait_until_succeeds</literal>,
+          <literal>wait_until_fails</literal>.
+        </para>
+      </listitem>
+      <listitem>
+        <para>
           The <literal>services.wakeonlan</literal> option was removed,
           and replaced with
           <literal>networking.interfaces.&lt;name&gt;.wakeOnLan</literal>.