From 5d4a699daa0a3696a5bac04cf5568310ff2b7a5c Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sat, 12 Oct 2019 12:37:16 +0300 Subject: - polishing health service tests - adding auto-CS tools --- service/health/service_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'service/health') 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} } }`, -- cgit v1.2.3