Skip to content

Commit ab20cc9

Browse files
committed
search_command no longer sends a successful response on fatal errors
1 parent 9ce409d commit ab20cc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/searchcommands/test_search_command.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,9 +641,7 @@ def test_process_scpv2(self):
641641
'{"inspector":{"messages":[["ERROR","Illegal value: logging_configuration=non-existent-logging.conf"],'
642642
'["ERROR","Illegal value: logging_level=NON-EXISTENT-LOGGING-LEVEL"],'
643643
'["ERROR","Illegal value: record=Non-boolean value"],'
644-
'["ERROR","Illegal value: show_configuration=Non-boolean value"]]}}\n'
645-
'chunked 1.0,17,0\n'
646-
'{"finished":true}',
644+
'["ERROR","Illegal value: show_configuration=Non-boolean value"]]}}\n',
647645
result.getvalue())
648646

649647
self.assertEqual(command.protocol_version, 2)

0 commit comments

Comments
 (0)