1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00
Commit graph

18 commits

Author SHA1 Message Date
Simo Kinnunen
86ed8cd1f0 Prevent attempt to gracefull kill device worker during cleanup if it has already exited. Not very elegant but it does its job. This should get rid of most Ctrl+C delays. 2017-02-10 01:31:16 +09:00
Gleb Golovin
80ac27fbb4 Fix worker restart when stopping 2016-09-26 11:50:04 +07:00
Gunther Brunner
711ab4a8e5 Updated npm dependencies.
ProtobufJS and Bluebird require further work.
2016-08-03 20:08:30 +09:00
Golovin Gleb
63401dc536 This fixes bug with leaking ports when emulator or device is rebooted
Change handler order for device worker promise
2016-04-25 21:48:17 +09:00
Gunther Brunner
434f63b3a9 Fix all lib/ files with ESLint rules with 0 errors. 2016-01-19 20:52:38 +09:00
Simo Kinnunen
396cfbad7f Allocated ports were not being released properly due to fork() now consuming the ports. Additionally fixes port pool grouping. Fixes #138. 2015-10-21 16:58:41 +09:00
Vishal Banthia
6c741cbf4b Set TCP_KEEPALIVE socket option to fix tcp_connection problem in
some network. Issue-100
2015-10-09 16:32:02 +09:00
Simo Kinnunen
87e80ecb00 Base structure for vnc plugin. 2015-09-07 10:49:41 +09:00
Simo Kinnunen
55d27364a2 Ignore remote devices by default, use -R or --allow-remote to override. 2015-07-13 14:31:52 +09:00
Simo Kinnunen
a2f55dc8e0 Use eventemitter3 for provider. 2015-06-04 12:07:30 +09:00
Simo Kinnunen
736b6f769e Reaper decides if a device is present or not. Allows devices to "come back to life" if they start beating again. 2015-06-03 18:49:42 +09:00
Simo Kinnunen
25544d1a1a In-memory reaper. TtlSet needs tests. 2015-06-01 17:41:23 +09:00
Simo Kinnunen
105795bec7 Give open device ports their own options. Preparing for future refactor. 2015-04-29 16:38:03 +09:00
Simo Kinnunen
eb841161ac Error if unable to resolve endpoints. 2014-12-18 16:29:15 +09:00
Simo Kinnunen
2f8116dfe6 Set device absent when provider is stopped. 2014-12-18 16:14:41 +09:00
Simo Kinnunen
e43ae34d4b Make all zmq endpoints use srv records. 2014-12-17 21:01:20 +09:00
Simo Kinnunen
4ca5230402 Unify socket closers. Don't put them all in one try-catch or some might remain. 2014-11-17 15:51:57 +09:00
Simo Kinnunen
3a9b193f68 Rename "roles" to "units". Put units in their own folders. 2014-08-26 14:34:34 +09:00
Renamed from lib/roles/provider.js (Browse further)