https://github.com/walkr/nanoservice-start-tests
Starts a collection of nanoservices to test if they start properly
https://github.com/walkr/nanoservice-start-tests
Last synced: 3 months ago
JSON representation
Starts a collection of nanoservices to test if they start properly
- Host: GitHub
- URL: https://github.com/walkr/nanoservice-start-tests
- Owner: walkr
- Created: 2015-10-26T20:33:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-26T20:45:38.000Z (over 9 years ago)
- Last Synced: 2023-08-03T21:23:11.055Z (almost 2 years ago)
- Language: Python
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
nanoservice-start-tests
========================Test if a collection of nanoservices starts properly
## Usage
### Install
```shell
$ make install
```### Start services
```shell
$ make start13:36:34 one.1 | INFO:root:Service started on tcp://127.0.0.1:5001
13:36:34 four.1 | INFO:root:Service started on tcp://127.0.0.1:5004
13:36:34 seven.1 | INFO:root:Service started on tcp://127.0.0.1:5007
13:36:34 three.1 | INFO:root:Service started on tcp://127.0.0.1:5003
13:36:34 five.1 | INFO:root:Service started on tcp://127.0.0.1:5005
13:36:34 six.1 | INFO:root:Service started on tcp://127.0.0.1:5006
13:36:34 two.1 | INFO:root:Service started on tcp://127.0.0.1:5002
```### Then in a different shell
```shell
$ make testHello from one - 1.09 ms
Hello from two - 1.10 ms
Hello from three - 1.54 ms
Hello from four - 0.64 ms
Hello from five - 0.55 ms
Hello from six - 0.55 ms
Hello from seven - 0.48 ms
```