Added disconnect function to ejector, corrected process exit to disconnect
cleaned up runner
fixed ejector tests to use spawn, async and default gearman port
fixed injector tests to use default gearman port
fixed passthough to use spawn, async and default gearman port
fixed all runner tests to use gearman default port
created new system blackbox tests for entire stack: on-time with after and at separately
refactored test/lib/spawn to take in an entire configuration as a JSON object, this will be useful in the future when all components will be spawned independetly of the testing nodejs process
fixed system e2e to use a json configuration in spawning gearslothd
Since all tests now use async, the stack they use is setup and teared down in series and all gearmand processes are killed, none should remain running after tests. Also all temporary files are cleaned up.
All test pass locally and in vagrant, but please check this just in case.
Since all tests now use async, the stack they use is setup and teared down in series and all gearmand processes are killed, none should remain running after tests. Also all temporary files are cleaned up.
All test pass locally and in vagrant, but please check this just in case.