Commit Graph

31 Commits

Author SHA1 Message Date
ec58111360
Allow router to be tested properly 2018-12-15 16:08:37 +00:00
9ac2e60843
Use aiohttp application rather than server
We can do some route checking stuff later
2018-12-15 14:48:10 +00:00
eec4e46f3e
Kill all child processes when server terminates 2018-12-14 22:58:50 +00:00
697c8cb6eb
Add timeout to starting worker 2018-12-14 22:44:39 +00:00
b184038cc4
Don't show starting process in tests 2018-12-14 22:43:20 +00:00
73328303d4
Start worker using subprocess
This is because it ends up forking the tests else, which is really weird, and bad
2018-12-14 22:33:11 +00:00
ea7f195d0a
Show errors when starting worker in tests 2018-12-14 21:48:49 +00:00
bedc434332
Sort out detecing worker running 2018-12-14 21:46:45 +00:00
c17484b0ec
Don't constantly retry socket 2018-12-14 19:07:39 +00:00
28a127b619
Safely create base socket dir 2018-12-14 19:04:37 +00:00
c2b6c38d37
Allow running the worker on a custom port 2018-12-13 18:01:40 +00:00
cd8cae18c5
Use the CLI to run the app 2018-12-13 17:10:14 +00:00
c722c12ba4
Pipe stdout to socket 2018-12-13 16:54:24 +00:00
ce29af5459
Use custom program rather than yes
Yes may be too IO intensive, and may not exist on all systems
2018-12-13 14:06:47 +00:00
4bd7ce6f15
Move all sockets into subdir 2018-12-13 11:44:41 +00:00
81bbcf8761
Add and test ping command 2018-12-13 11:36:22 +00:00
31b1bc957c
Test if a process is running 2018-12-13 11:36:04 +00:00
1d32eeb24a
Add worker socket server 2018-12-13 11:25:09 +00:00
5b03540601
Test multiple hostname lookup 2018-12-12 23:19:05 +00:00
aff11d7d84
add utils to get hostname from request and process from hostname 2018-12-12 23:15:37 +00:00
9168ac32de
Move router to its own app 2018-12-12 22:34:51 +00:00
c2c5f955e8
Add function to get root process 2018-12-12 22:29:42 +00:00
3ed8ba7eb3
Add base test case for worker 2018-12-12 21:55:45 +00:00
81789ec29e
Init server 2018-12-12 20:03:45 +00:00
96c52a0328
Test worker stop/start works 2018-12-12 18:47:40 +00:00
3212a3326d
Document where function came from 2018-12-12 18:46:41 +00:00
dd656e17a7
Report coverage as HTML 2018-12-12 18:46:31 +00:00
4f05b88abf
Init CLI 2018-12-12 16:52:37 +00:00
198eb1f209
Actually add a tests file 2018-12-12 15:06:03 +00:00
90abb31c12
Add status badge 2018-12-12 15:05:04 +00:00
c0c08ecfc2
Init project 2018-12-12 15:03:22 +00:00