mirror of
https://github.com/enso-org/enso.git
synced 2024-09-20 01:28:14 +03:00
ade7d42da4
After some recent changes, the HTTP server helper would no longer stop when Ctrl-C was issued. That is because the semaphore was being used in the wrong way: it was released on the same thread that was supposed to acquire it - but the acquire never returned as it would be waiting for the release, so the release could also never happen. Thus the main thread was in a constant dead-lock. |
||
---|---|---|
.. | ||
src/main/java/org/enso/shttp | ||
www-files | ||
README.md |
HTTP Test Helper
A simple HTTP Request/Response clone of httpbin for testing purposes, extended with additional functionality allowing for testing Enso Cloud features.
Usage
It can be compiled like any other SBT project i.e.
sbt> http-test-helper/compile
To run, simply invoke the main
method with the appropriate hostname and port:
sbt> http-test-helper/run localhost 8080