summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-10-12 12:37:16 +0300
committerWolfy-J <[email protected]>2019-10-12 12:37:16 +0300
commit5d4a699daa0a3696a5bac04cf5568310ff2b7a5c (patch)
treea9699c63f01de662c3280f0f15185be030899038 /service
parent3589850c4601d4907979a9f996873038de930735 (diff)
- polishing health service tests
- adding auto-CS tools
Diffstat (limited to 'service')
-rw-r--r--service/health/service_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/service/health/service_test.go b/service/health/service_test.go
index 3e86b0bd..7a3b8186 100644
--- a/service/health/service_test.go
+++ b/service/health/service_test.go
@@ -73,7 +73,6 @@ func TestService_Serve(t *testing.T) {
_, res, err := get("http://localhost:2116/")
assert.NoError(t, err)
assert.Equal(t, http.StatusOK, res.StatusCode)
-
}
func TestService_Serve_DeadWorker(t *testing.T) {
@@ -91,7 +90,7 @@ func TestService_Serve_DeadWorker(t *testing.T) {
httpCfg: `{
"address": "localhost:2115",
"workers":{
- "command": "php ../../tests/http/client.php echo pipes",
+ "command": "php ../../tests/http/slow-client.php echo pipes 1000",
"pool": {"numWorkers": 1}
}
}`,