Skip to content

Commit e2c8eb1

Browse files
committed
iotests/245: Fix type for iothread property
iothread is a string property, so None (= JSON null) is not a valid value for it. Pass the empty string instead to get the default iothread. Signed-off-by: Kevin Wolf <[email protected]> Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]> Message-Id: <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Tested-by: Peter Krempa <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
1 parent dbc8221 commit e2c8eb1

File tree

1 file changed

+2
-2
lines changed
  • tests/qemu-iotests

1 file changed

+2
-2
lines changed

tests/qemu-iotests/245

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,10 +1189,10 @@ class TestBlockdevReopen(iotests.QMPTestCase):
11891189
self.run_test_iothreads('iothread0', 'iothread0')
11901190

11911191
def test_iothreads_switch_backing(self):
1192-
self.run_test_iothreads('iothread0', None)
1192+
self.run_test_iothreads('iothread0', '')
11931193

11941194
def test_iothreads_switch_overlay(self):
1195-
self.run_test_iothreads(None, 'iothread0')
1195+
self.run_test_iothreads('', 'iothread0')
11961196

11971197
if __name__ == '__main__':
11981198
iotests.activate_logging()

0 commit comments

Comments
 (0)