Skip to content

Commit bb0d71b

Browse files
aijamysutedja
authored andcommitted
search_command no longer sends a successful response on fatal errors
1 parent 9052c90 commit bb0d71b

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
@@ -643,9 +643,7 @@ def test_process_scpv2(self):
643643
'{"inspector":{"messages":[["ERROR","Illegal value: logging_configuration=non-existent-logging.conf"],'
644644
'["ERROR","Illegal value: logging_level=NON-EXISTENT-LOGGING-LEVEL"],'
645645
'["ERROR","Illegal value: record=Non-boolean value"],'
646-
'["ERROR","Illegal value: show_configuration=Non-boolean value"]]}}\n'
647-
'chunked 1.0,17,0\n'
648-
'{"finished":true}',
646+
'["ERROR","Illegal value: show_configuration=Non-boolean value"]]}}\n',
649647
result.getvalue().decode('utf-8'))
650648

651649
self.assertEqual(command.protocol_version, 2)

0 commit comments

Comments
 (0)