Skip to content

An http server which crashes after a configurable amount of time, for testing your health checks

Notifications You must be signed in to change notification settings

fatal-exception/temp_http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

temp_http

This is a service which listens on http using Python's SimpleHTTPServer, for a set amount of time (configurable via the HTTP_TIMEOUT variable).

After this, it halts the server and just sleeps.

It is meant to be used to emulate a service 'dying' inside a docker container, without its PID-1 dying. Practical examples of this include GC-looping and certain critical dependencies of the container going down. It is intended to be used to test your healthchecking setup.

About

An http server which crashes after a configurable amount of time, for testing your health checks

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages