Skip to content

Commit 542b701

Browse files
authored
Fixed sending of mock http error in kms_failpoint_server.py (#548)
1 parent 6a7b2e0 commit 542b701

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.evergreen/csfle/kms_failpoint_server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ def _http_fail(self):
7474
global remaining_http_fails
7575
remaining_http_fails -= 1
7676
self.send_response(429)
77+
self.end_headers()
78+
print("mock http error")
7779

7880
def do_POST(self):
7981
global remaining_http_fails

0 commit comments

Comments
 (0)