diff options
author | Thomas Huth <thuth@redhat.com> | 2025-03-26 15:35:33 +0100 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2025-04-03 16:57:57 -0500 |
commit | 961841472d25ab70642d182e486b36afeb3fef26 (patch) | |
tree | b3241d10163306076c0604df1fa2dd93114c687b /tests/test-string-output-visitor.c | |
parent | 0adf626718bc0ca9c46550249a76047f8e45da15 (diff) | |
download | qemu-961841472d25ab70642d182e486b36afeb3fef26.zip qemu-961841472d25ab70642d182e486b36afeb3fef26.tar.gz qemu-961841472d25ab70642d182e486b36afeb3fef26.tar.bz2 |
Revert "iotests: Stop NBD server in test 162 before starting the next one"
This reverts commit e2668ba1ed44ad56f2f1653ff5f53b277d534fac.
This commit made test 162 fail occasionally with:
162 fail [13:06:40] [13:06:40] 0.2s (last: 0.2s) output mismatch
--- tests/qemu-iotests/162.out
+++ tests/qemu-iotests/scratch/qcow2-file-162/162.out.bad
@@ -3,6 +3,7 @@
=== NBD ===
qemu-img: Could not open 'json:{"driver": "nbd", "host": -1}': address
resolution failed for -1:10809: Name or service not known
image: nbd://localhost:PORT
+./common.rc: line 371: kill: (891116) - No such process
image: nbd+unix://?socket=42
The nbd server should normally terminate automatically, so trying to
kill it here now seems to cause a race that will cause a test failure
when the server terminated before the kill command has been executed.
The "Stop NBD server" patch has originally been written to solve another
problem with a hanging nbd server, but since that problem has been properly
solved by commit 3e1683485656, we now don't need the "_stop_nbd_server" here
anymore.
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250326143533.932899-1-thuth@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions