diff options
-rw-r--r-- | .github/workflows/build.yml | 32 | ||||
-rw-r--r-- | coverage-ci/lib.txt | 444 | ||||
-rwxr-xr-x | plugins/rpc/config_test.go | 7 |
3 files changed, 466 insertions, 17 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15bf57ae..4ba9fb3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,22 +59,22 @@ jobs: - name: Run golang tests run: | mkdir ./coverage-ci - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/lib.txt -covermode=atomic . - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/rpc_config.txt -covermode=atomic ./plugins/rpc - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/rpc.txt -covermode=atomic ./plugins/rpc/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/plugin_config.txt -covermode=atomic ./plugins/config/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/logger.txt -covermode=atomic ./plugins/logger/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/server.txt -covermode=atomic ./plugins/server/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/metrics.txt -covermode=atomic ./plugins/metrics/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/informer.txt -covermode=atomic ./plugins/informer/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/resetter.txt -covermode=atomic ./plugins/resetter/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/attributes.txt -covermode=atomic ./plugins/http/attributes - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/http_tests.txt -covermode=atomic ./plugins/http/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/gzip.txt -covermode=atomic ./plugins/gzip/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/static.txt -covermode=atomic ./plugins/static/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/static_root.txt -covermode=atomic ./plugins/static - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/headers.txt -covermode=atomic ./plugins/headers/tests - go test -v -race -cover -tags=debug -coverprofile=./coverage-ci/checker.txt -covermode=atomic ./plugins/checker/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/lib.txt" -covermode=atomic . + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/rpc_config.txt" -covermode=atomic ./plugins/rpc + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/rpc.txt" -covermode=atomic ./plugins/rpc/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/plugin_config.txt" -covermode=atomic ./plugins/config/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/logger.txt" -covermode=atomic ./plugins/logger/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/server.txt" -covermode=atomic ./plugins/server/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/metrics.txt" -covermode=atomic ./plugins/metrics/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/informer.txt" -covermode=atomic ./plugins/informer/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/resetter.txt" -covermode=atomic ./plugins/resetter/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/attributes.txt" -covermode=atomic ./plugins/http/attributes + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/http_tests.txt" -covermode=atomic ./plugins/http/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/gzip.txt" -covermode=atomic ./plugins/gzip/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/static.txt" -covermode=atomic ./plugins/static/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/static_root.txt" -covermode=atomic ./plugins/static + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/headers.txt" -covermode=atomic ./plugins/headers/tests + go test -v -race -cover -tags=debug -coverprofile="./coverage-ci/checker.txt" -covermode=atomic ./plugins/checker/tests cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt - uses: codecov/codecov-action@v1 # Docs: <https://github.com/codecov/codecov-action> diff --git a/coverage-ci/lib.txt b/coverage-ci/lib.txt new file mode 100644 index 00000000..291df8f6 --- /dev/null +++ b/coverage-ci/lib.txt @@ -0,0 +1,444 @@ +mode: atomic +github.com/spiral/roadrunner/v2/payload.go:14.35,16.2 1 8 +github.com/spiral/roadrunner/v2/pool.go:99.39,100.25 1 20 +github.com/spiral/roadrunner/v2/pool.go:104.2,104.30 1 20 +github.com/spiral/roadrunner/v2/pool.go:108.2,108.29 1 20 +github.com/spiral/roadrunner/v2/pool.go:111.2,111.27 1 20 +github.com/spiral/roadrunner/v2/pool.go:114.2,114.31 1 3 +github.com/spiral/roadrunner/v2/pool.go:100.25,102.3 1 2 +github.com/spiral/roadrunner/v2/pool.go:104.30,106.3 1 0 +github.com/spiral/roadrunner/v2/pool.go:108.29,110.3 1 0 +github.com/spiral/roadrunner/v2/pool.go:111.27,113.3 1 17 +github.com/spiral/roadrunner/v2/pool.go:135.45,136.24 1 3 +github.com/spiral/roadrunner/v2/pool.go:136.24,138.3 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:37.67,48.12 2 14 +github.com/spiral/roadrunner/v2/socket_factory.go:52.2,52.10 1 14 +github.com/spiral/roadrunner/v2/socket_factory.go:48.12,50.3 1 14 +github.com/spiral/roadrunner/v2/socket_factory.go:56.40,58.24 2 14 +github.com/spiral/roadrunner/v2/socket_factory.go:75.2,75.21 1 14 +github.com/spiral/roadrunner/v2/socket_factory.go:58.24,59.7 1 14 +github.com/spiral/roadrunner/v2/socket_factory.go:59.7,61.18 2 21 +github.com/spiral/roadrunner/v2/socket_factory.go:65.4,67.18 3 7 +github.com/spiral/roadrunner/v2/socket_factory.go:71.4,71.31 1 7 +github.com/spiral/roadrunner/v2/socket_factory.go:61.18,63.5 1 14 +github.com/spiral/roadrunner/v2/socket_factory.go:67.18,69.5 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:84.104,87.12 3 14 +github.com/spiral/roadrunner/v2/socket_factory.go:132.2,132.9 1 14 +github.com/spiral/roadrunner/v2/socket_factory.go:87.12,91.17 4 14 +github.com/spiral/roadrunner/v2/socket_factory.go:99.3,100.17 2 13 +github.com/spiral/roadrunner/v2/socket_factory.go:108.3,109.17 2 13 +github.com/spiral/roadrunner/v2/socket_factory.go:123.3,129.4 3 7 +github.com/spiral/roadrunner/v2/socket_factory.go:91.17,97.4 2 1 +github.com/spiral/roadrunner/v2/socket_factory.go:100.17,106.4 2 0 +github.com/spiral/roadrunner/v2/socket_factory.go:109.17,121.4 3 6 +github.com/spiral/roadrunner/v2/socket_factory.go:133.20,134.24 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:135.18,136.21 1 14 +github.com/spiral/roadrunner/v2/socket_factory.go:140.3,140.20 1 7 +github.com/spiral/roadrunner/v2/socket_factory.go:136.21,138.4 1 7 +github.com/spiral/roadrunner/v2/socket_factory.go:144.72,147.16 3 0 +github.com/spiral/roadrunner/v2/socket_factory.go:151.2,152.16 2 0 +github.com/spiral/roadrunner/v2/socket_factory.go:156.2,157.16 2 0 +github.com/spiral/roadrunner/v2/socket_factory.go:166.2,169.15 3 0 +github.com/spiral/roadrunner/v2/socket_factory.go:147.16,149.3 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:152.16,154.3 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:157.16,164.3 2 0 +github.com/spiral/roadrunner/v2/socket_factory.go:173.58,175.2 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:178.111,180.6 2 13 +github.com/spiral/roadrunner/v2/socket_factory.go:180.6,181.10 1 27979450 +github.com/spiral/roadrunner/v2/socket_factory.go:182.21,183.25 1 6 +github.com/spiral/roadrunner/v2/socket_factory.go:184.19,186.18 2 211 +github.com/spiral/roadrunner/v2/socket_factory.go:189.11,191.11 2 27979233 +github.com/spiral/roadrunner/v2/socket_factory.go:194.4,194.42 1 7 +github.com/spiral/roadrunner/v2/socket_factory.go:186.18,188.5 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:191.11,192.13 1 27979226 +github.com/spiral/roadrunner/v2/socket_factory.go:199.79,203.6 3 0 +github.com/spiral/roadrunner/v2/socket_factory.go:203.6,204.10 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:205.21,206.57 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:207.11,209.11 2 0 +github.com/spiral/roadrunner/v2/socket_factory.go:212.4,212.42 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:209.11,210.13 1 0 +github.com/spiral/roadrunner/v2/socket_factory.go:218.74,220.2 1 7 +github.com/spiral/roadrunner/v2/socket_factory.go:223.55,225.2 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:55.128,57.20 2 20 +github.com/spiral/roadrunner/v2/static_pool.go:60.2,62.15 2 20 +github.com/spiral/roadrunner/v2/static_pool.go:67.2,80.16 5 20 +github.com/spiral/roadrunner/v2/static_pool.go:85.2,86.16 2 18 +github.com/spiral/roadrunner/v2/static_pool.go:90.2,93.36 2 18 +github.com/spiral/roadrunner/v2/static_pool.go:98.2,98.27 1 18 +github.com/spiral/roadrunner/v2/static_pool.go:105.2,105.15 1 15 +github.com/spiral/roadrunner/v2/static_pool.go:57.20,59.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:62.15,65.3 2 1 +github.com/spiral/roadrunner/v2/static_pool.go:80.16,82.3 1 2 +github.com/spiral/roadrunner/v2/static_pool.go:86.16,88.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:93.36,95.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:98.27,103.3 3 3 +github.com/spiral/roadrunner/v2/static_pool.go:108.47,109.29 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:109.29,111.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:114.44,115.29 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:115.29,117.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:121.64,123.2 1 2 +github.com/spiral/roadrunner/v2/static_pool.go:126.46,128.2 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:131.56,133.2 1 171320 +github.com/spiral/roadrunner/v2/static_pool.go:135.57,137.2 1 1 +github.com/spiral/roadrunner/v2/static_pool.go:139.56,141.18 2 153 +github.com/spiral/roadrunner/v2/static_pool.go:144.2,147.16 4 142 +github.com/spiral/roadrunner/v2/static_pool.go:151.2,153.24 2 140 +github.com/spiral/roadrunner/v2/static_pool.go:159.2,160.16 2 140 +github.com/spiral/roadrunner/v2/static_pool.go:166.2,166.62 1 138 +github.com/spiral/roadrunner/v2/static_pool.go:176.2,176.68 1 128 +github.com/spiral/roadrunner/v2/static_pool.go:185.2,185.23 1 128 +github.com/spiral/roadrunner/v2/static_pool.go:191.2,191.17 1 128 +github.com/spiral/roadrunner/v2/static_pool.go:141.18,143.3 1 11 +github.com/spiral/roadrunner/v2/static_pool.go:147.16,149.3 1 2 +github.com/spiral/roadrunner/v2/static_pool.go:153.24,154.39 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:154.39,156.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:160.16,162.3 1 2 +github.com/spiral/roadrunner/v2/static_pool.go:166.62,169.17 3 10 +github.com/spiral/roadrunner/v2/static_pool.go:173.3,173.20 1 10 +github.com/spiral/roadrunner/v2/static_pool.go:169.17,171.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:176.68,178.17 2 11 +github.com/spiral/roadrunner/v2/static_pool.go:178.17,180.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:181.8,183.3 1 117 +github.com/spiral/roadrunner/v2/static_pool.go:185.23,186.38 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:186.38,188.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:194.90,199.16 5 2 +github.com/spiral/roadrunner/v2/static_pool.go:203.2,206.24 2 2 +github.com/spiral/roadrunner/v2/static_pool.go:212.2,213.16 2 2 +github.com/spiral/roadrunner/v2/static_pool.go:218.2,218.81 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:228.2,228.68 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:238.2,238.23 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:244.2,244.17 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:199.16,201.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:206.24,207.39 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:207.39,209.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:213.16,215.3 1 2 +github.com/spiral/roadrunner/v2/static_pool.go:218.81,221.17 3 0 +github.com/spiral/roadrunner/v2/static_pool.go:225.3,225.22 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:221.17,223.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:228.68,230.17 2 0 +github.com/spiral/roadrunner/v2/static_pool.go:230.17,232.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:233.8,235.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:238.23,239.38 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:239.38,241.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:247.95,250.16 2 144 +github.com/spiral/roadrunner/v2/static_pool.go:259.2,259.15 1 142 +github.com/spiral/roadrunner/v2/static_pool.go:250.16,252.43 1 2 +github.com/spiral/roadrunner/v2/static_pool.go:257.3,257.32 1 2 +github.com/spiral/roadrunner/v2/static_pool.go:252.43,255.4 2 0 +github.com/spiral/roadrunner/v2/static_pool.go:263.52,265.2 1 17 +github.com/spiral/roadrunner/v2/static_pool.go:267.53,268.56 1 18 +github.com/spiral/roadrunner/v2/static_pool.go:268.56,271.40 2 4 +github.com/spiral/roadrunner/v2/static_pool.go:290.3,294.18 4 3 +github.com/spiral/roadrunner/v2/static_pool.go:298.3,298.41 1 2 +github.com/spiral/roadrunner/v2/static_pool.go:271.40,272.69 1 1 +github.com/spiral/roadrunner/v2/static_pool.go:287.4,287.42 1 1 +github.com/spiral/roadrunner/v2/static_pool.go:272.69,274.19 2 0 +github.com/spiral/roadrunner/v2/static_pool.go:278.5,280.19 3 0 +github.com/spiral/roadrunner/v2/static_pool.go:274.19,276.6 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:280.19,282.6 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:283.10,285.5 1 1 +github.com/spiral/roadrunner/v2/static_pool.go:294.18,296.4 1 1 +github.com/spiral/roadrunner/v2/static_pool.go:302.72,303.36 1 20 +github.com/spiral/roadrunner/v2/static_pool.go:303.36,305.17 2 37 +github.com/spiral/roadrunner/v2/static_pool.go:309.3,310.17 2 37 +github.com/spiral/roadrunner/v2/static_pool.go:313.3,313.17 1 37 +github.com/spiral/roadrunner/v2/static_pool.go:305.17,307.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:310.17,312.4 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:317.61,319.16 2 11 +github.com/spiral/roadrunner/v2/static_pool.go:323.2,325.62 2 11 +github.com/spiral/roadrunner/v2/static_pool.go:329.2,329.15 1 11 +github.com/spiral/roadrunner/v2/static_pool.go:319.16,321.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:325.62,327.3 1 0 +github.com/spiral/roadrunner/v2/static_pool.go:333.100,338.41 3 20 +github.com/spiral/roadrunner/v2/static_pool.go:348.2,348.21 1 18 +github.com/spiral/roadrunner/v2/static_pool.go:338.41,341.17 3 115 +github.com/spiral/roadrunner/v2/static_pool.go:345.3,346.11 2 113 +github.com/spiral/roadrunner/v2/static_pool.go:341.17,344.4 2 2 +github.com/spiral/roadrunner/v2/worker.go:38.33,39.12 1 0 +github.com/spiral/roadrunner/v2/worker.go:45.2,45.29 1 0 +github.com/spiral/roadrunner/v2/worker.go:40.24,41.28 1 0 +github.com/spiral/roadrunner/v2/worker.go:42.22,43.26 1 0 +github.com/spiral/roadrunner/v2/worker.go:140.56,141.24 1 186 +github.com/spiral/roadrunner/v2/worker.go:144.2,157.15 4 183 +github.com/spiral/roadrunner/v2/worker.go:141.24,143.3 1 3 +github.com/spiral/roadrunner/v2/worker.go:161.37,163.2 1 28037487 +github.com/spiral/roadrunner/v2/worker.go:166.45,168.2 1 28928 +github.com/spiral/roadrunner/v2/worker.go:171.66,173.2 1 114 +github.com/spiral/roadrunner/v2/worker.go:177.39,179.2 1 59153 +github.com/spiral/roadrunner/v2/worker.go:183.55,185.2 1 173 +github.com/spiral/roadrunner/v2/worker.go:189.47,191.2 1 330 +github.com/spiral/roadrunner/v2/worker.go:194.41,197.16 2 6 +github.com/spiral/roadrunner/v2/worker.go:201.2,206.3 1 6 +github.com/spiral/roadrunner/v2/worker.go:197.16,199.3 1 3 +github.com/spiral/roadrunner/v2/worker.go:209.39,211.16 2 179 +github.com/spiral/roadrunner/v2/worker.go:214.2,215.12 2 179 +github.com/spiral/roadrunner/v2/worker.go:211.16,213.3 1 0 +github.com/spiral/roadrunner/v2/worker.go:222.38,229.16 4 163 +github.com/spiral/roadrunner/v2/worker.go:240.2,241.16 2 23 +github.com/spiral/roadrunner/v2/worker.go:246.2,246.26 1 23 +github.com/spiral/roadrunner/v2/worker.go:250.2,250.12 1 23 +github.com/spiral/roadrunner/v2/worker.go:229.16,233.25 2 16 +github.com/spiral/roadrunner/v2/worker.go:237.3,237.46 1 16 +github.com/spiral/roadrunner/v2/worker.go:233.25,235.4 1 6 +github.com/spiral/roadrunner/v2/worker.go:241.16,244.3 2 0 +github.com/spiral/roadrunner/v2/worker.go:246.26,248.3 1 23 +github.com/spiral/roadrunner/v2/worker.go:253.44,254.20 1 39 +github.com/spiral/roadrunner/v2/worker.go:260.2,260.12 1 39 +github.com/spiral/roadrunner/v2/worker.go:254.20,256.17 2 33 +github.com/spiral/roadrunner/v2/worker.go:256.17,258.4 1 0 +github.com/spiral/roadrunner/v2/worker.go:264.57,267.12 2 42 +github.com/spiral/roadrunner/v2/worker.go:279.2,279.9 1 42 +github.com/spiral/roadrunner/v2/worker.go:267.12,271.17 4 42 +github.com/spiral/roadrunner/v2/worker.go:275.3,276.11 2 42 +github.com/spiral/roadrunner/v2/worker.go:271.17,274.4 2 5 +github.com/spiral/roadrunner/v2/worker.go:280.20,281.19 1 0 +github.com/spiral/roadrunner/v2/worker.go:282.18,283.17 1 42 +github.com/spiral/roadrunner/v2/worker.go:286.3,286.13 1 37 +github.com/spiral/roadrunner/v2/worker.go:283.17,285.4 1 5 +github.com/spiral/roadrunner/v2/worker.go:292.38,295.16 3 13 +github.com/spiral/roadrunner/v2/worker.go:298.2,299.12 2 13 +github.com/spiral/roadrunner/v2/worker.go:295.16,297.3 1 0 +github.com/spiral/roadrunner/v2/worker.go:304.54,314.2 6 8 +github.com/spiral/roadrunner/v2/worker_watcher.go:19.31,23.2 1 20 +github.com/spiral/roadrunner/v2/worker_watcher.go:25.29,30.2 3 17 +github.com/spiral/roadrunner/v2/worker_watcher.go:32.40,36.2 3 257 +github.com/spiral/roadrunner/v2/worker_watcher.go:38.36,43.2 3 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:45.46,49.19 3 11267 +github.com/spiral/roadrunner/v2/worker_watcher.go:53.2,53.29 1 11265 +github.com/spiral/roadrunner/v2/worker_watcher.go:57.2,60.17 3 142 +github.com/spiral/roadrunner/v2/worker_watcher.go:49.19,51.3 1 2 +github.com/spiral/roadrunner/v2/worker_watcher.go:53.29,55.3 1 11123 +github.com/spiral/roadrunner/v2/worker_watcher.go:87.103,97.2 2 20 +github.com/spiral/roadrunner/v2/worker_watcher.go:108.65,109.36 1 18 +github.com/spiral/roadrunner/v2/worker_watcher.go:121.2,121.12 1 18 +github.com/spiral/roadrunner/v2/worker_watcher.go:109.36,111.17 2 113 +github.com/spiral/roadrunner/v2/worker_watcher.go:114.3,117.27 3 113 +github.com/spiral/roadrunner/v2/worker_watcher.go:111.17,113.4 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:117.27,119.4 1 113 +github.com/spiral/roadrunner/v2/worker_watcher.go:124.81,128.10 3 144 +github.com/spiral/roadrunner/v2/worker_watcher.go:134.2,134.50 1 142 +github.com/spiral/roadrunner/v2/worker_watcher.go:143.2,143.14 1 142 +github.com/spiral/roadrunner/v2/worker_watcher.go:162.2,163.15 2 132 +github.com/spiral/roadrunner/v2/worker_watcher.go:128.10,130.3 1 2 +github.com/spiral/roadrunner/v2/worker_watcher.go:134.50,136.17 2 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:140.3,140.31 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:136.17,138.4 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:143.14,144.7 1 10 +github.com/spiral/roadrunner/v2/worker_watcher.go:144.7,145.11 1 11123 +github.com/spiral/roadrunner/v2/worker_watcher.go:146.12,148.13 2 11123 +github.com/spiral/roadrunner/v2/worker_watcher.go:151.5,151.17 1 11123 +github.com/spiral/roadrunner/v2/worker_watcher.go:154.5,155.18 2 10 +github.com/spiral/roadrunner/v2/worker_watcher.go:156.22,157.111 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:148.13,150.6 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:151.17,152.14 1 11113 +github.com/spiral/roadrunner/v2/worker_watcher.go:166.46,170.16 4 26 +github.com/spiral/roadrunner/v2/worker_watcher.go:174.2,183.12 5 26 +github.com/spiral/roadrunner/v2/worker_watcher.go:170.16,172.3 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:186.60,191.45 5 1 +github.com/spiral/roadrunner/v2/worker_watcher.go:207.2,208.12 2 1 +github.com/spiral/roadrunner/v2/worker_watcher.go:191.45,192.39 1 1 +github.com/spiral/roadrunner/v2/worker_watcher.go:192.39,200.18 5 1 +github.com/spiral/roadrunner/v2/worker_watcher.go:203.4,203.9 1 1 +github.com/spiral/roadrunner/v2/worker_watcher.go:200.18,202.5 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:212.51,215.2 2 144 +github.com/spiral/roadrunner/v2/worker_watcher.go:217.47,221.2 3 144 +github.com/spiral/roadrunner/v2/worker_watcher.go:222.49,226.2 3 144 +github.com/spiral/roadrunner/v2/worker_watcher.go:229.55,235.6 5 17 +github.com/spiral/roadrunner/v2/worker_watcher.go:235.6,236.10 1 17 +github.com/spiral/roadrunner/v2/worker_watcher.go:237.15,239.57 2 17 +github.com/spiral/roadrunner/v2/worker_watcher.go:243.4,248.47 3 17 +github.com/spiral/roadrunner/v2/worker_watcher.go:252.4,256.10 4 17 +github.com/spiral/roadrunner/v2/worker_watcher.go:239.57,241.13 2 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:248.47,251.5 1 100 +github.com/spiral/roadrunner/v2/worker_watcher.go:262.53,266.37 4 171320 +github.com/spiral/roadrunner/v2/worker_watcher.go:271.2,271.20 1 171320 +github.com/spiral/roadrunner/v2/worker_watcher.go:266.37,269.3 2 28968 +github.com/spiral/roadrunner/v2/worker_watcher.go:274.45,277.16 3 139 +github.com/spiral/roadrunner/v2/worker_watcher.go:285.2,285.41 1 15 +github.com/spiral/roadrunner/v2/worker_watcher.go:290.2,292.45 3 15 +github.com/spiral/roadrunner/v2/worker_watcher.go:311.2,315.16 3 14 +github.com/spiral/roadrunner/v2/worker_watcher.go:277.16,283.3 1 4 +github.com/spiral/roadrunner/v2/worker_watcher.go:285.41,288.3 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:292.45,294.39 1 12 +github.com/spiral/roadrunner/v2/worker_watcher.go:294.39,300.18 5 1 +github.com/spiral/roadrunner/v2/worker_watcher.go:307.4,307.10 1 1 +github.com/spiral/roadrunner/v2/worker_watcher.go:300.18,305.5 1 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:315.16,321.3 2 0 +github.com/spiral/roadrunner/v2/worker_watcher.go:324.52,327.12 3 26 +github.com/spiral/roadrunner/v2/worker_watcher.go:327.12,329.3 1 26 +github.com/spiral/roadrunner/v2/sync_worker.go:31.54,35.2 1 163 +github.com/spiral/roadrunner/v2/sync_worker.go:38.56,40.45 2 166 +github.com/spiral/roadrunner/v2/sync_worker.go:44.2,44.40 1 165 +github.com/spiral/roadrunner/v2/sync_worker.go:49.2,53.16 4 163 +github.com/spiral/roadrunner/v2/sync_worker.go:62.2,65.17 3 157 +github.com/spiral/roadrunner/v2/sync_worker.go:40.45,42.3 1 1 +github.com/spiral/roadrunner/v2/sync_worker.go:44.40,46.3 1 2 +github.com/spiral/roadrunner/v2/sync_worker.go:53.16,55.49 1 6 +github.com/spiral/roadrunner/v2/sync_worker.go:59.3,59.27 1 6 +github.com/spiral/roadrunner/v2/sync_worker.go:55.49,58.4 2 4 +github.com/spiral/roadrunner/v2/sync_worker.go:74.88,77.12 3 2 +github.com/spiral/roadrunner/v2/sync_worker.go:121.2,121.9 1 2 +github.com/spiral/roadrunner/v2/sync_worker.go:77.12,78.46 1 2 +github.com/spiral/roadrunner/v2/sync_worker.go:86.3,86.41 1 2 +github.com/spiral/roadrunner/v2/sync_worker.go:95.3,99.17 4 2 +github.com/spiral/roadrunner/v2/sync_worker.go:112.3,118.4 3 0 +github.com/spiral/roadrunner/v2/sync_worker.go:78.46,84.4 2 0 +github.com/spiral/roadrunner/v2/sync_worker.go:86.41,92.4 2 0 +github.com/spiral/roadrunner/v2/sync_worker.go:99.17,101.50 1 2 +github.com/spiral/roadrunner/v2/sync_worker.go:105.4,109.10 2 2 +github.com/spiral/roadrunner/v2/sync_worker.go:101.50,104.5 2 2 +github.com/spiral/roadrunner/v2/sync_worker.go:122.20,124.17 2 1 +github.com/spiral/roadrunner/v2/sync_worker.go:127.3,127.33 1 1 +github.com/spiral/roadrunner/v2/sync_worker.go:128.18,129.21 1 1 +github.com/spiral/roadrunner/v2/sync_worker.go:132.3,132.26 1 0 +github.com/spiral/roadrunner/v2/sync_worker.go:124.17,126.4 1 0 +github.com/spiral/roadrunner/v2/sync_worker.go:129.21,131.4 1 1 +github.com/spiral/roadrunner/v2/sync_worker.go:136.63,158.16 13 165 +github.com/spiral/roadrunner/v2/sync_worker.go:162.2,165.16 3 165 +github.com/spiral/roadrunner/v2/sync_worker.go:168.2,168.19 1 159 +github.com/spiral/roadrunner/v2/sync_worker.go:172.2,172.25 1 159 +github.com/spiral/roadrunner/v2/sync_worker.go:176.2,178.42 2 159 +github.com/spiral/roadrunner/v2/sync_worker.go:182.2,183.23 2 157 +github.com/spiral/roadrunner/v2/sync_worker.go:187.2,191.21 4 157 +github.com/spiral/roadrunner/v2/sync_worker.go:158.16,160.3 1 0 +github.com/spiral/roadrunner/v2/sync_worker.go:165.16,167.3 1 6 +github.com/spiral/roadrunner/v2/sync_worker.go:168.19,170.3 1 0 +github.com/spiral/roadrunner/v2/sync_worker.go:172.25,174.3 1 0 +github.com/spiral/roadrunner/v2/sync_worker.go:178.42,180.3 1 2 +github.com/spiral/roadrunner/v2/sync_worker.go:183.23,185.3 1 0 +github.com/spiral/roadrunner/v2/sync_worker.go:194.39,196.2 1 0 +github.com/spiral/roadrunner/v2/sync_worker.go:198.35,200.2 1 57877 +github.com/spiral/roadrunner/v2/sync_worker.go:202.43,204.2 1 28928 +github.com/spiral/roadrunner/v2/sync_worker.go:206.64,208.2 1 113 +github.com/spiral/roadrunner/v2/sync_worker.go:210.37,212.2 1 58151 +github.com/spiral/roadrunner/v2/sync_worker.go:214.37,216.2 1 0 +github.com/spiral/roadrunner/v2/sync_worker.go:218.36,220.2 1 139 +github.com/spiral/roadrunner/v2/sync_worker.go:222.55,224.2 1 24 +github.com/spiral/roadrunner/v2/sync_worker.go:226.36,228.2 1 3 +github.com/spiral/roadrunner/v2/sync_worker.go:230.45,232.2 1 165 +github.com/spiral/roadrunner/v2/sync_worker.go:234.53,236.2 1 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:20.31,22.2 1 37 +github.com/spiral/roadrunner/v2/pipe_factory.go:31.102,34.12 3 169 +github.com/spiral/roadrunner/v2/pipe_factory.go:103.2,103.9 1 169 +github.com/spiral/roadrunner/v2/pipe_factory.go:34.12,36.17 2 169 +github.com/spiral/roadrunner/v2/pipe_factory.go:45.3,46.17 2 168 +github.com/spiral/roadrunner/v2/pipe_factory.go:55.3,56.17 2 168 +github.com/spiral/roadrunner/v2/pipe_factory.go:65.3,70.17 4 166 +github.com/spiral/roadrunner/v2/pipe_factory.go:79.3,80.35 2 166 +github.com/spiral/roadrunner/v2/pipe_factory.go:94.3,100.4 2 163 +github.com/spiral/roadrunner/v2/pipe_factory.go:36.17,42.4 2 1 +github.com/spiral/roadrunner/v2/pipe_factory.go:46.17,52.4 2 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:56.17,62.4 2 2 +github.com/spiral/roadrunner/v2/pipe_factory.go:70.17,76.4 2 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:80.35,91.4 3 3 +github.com/spiral/roadrunner/v2/pipe_factory.go:104.20,105.24 1 1 +github.com/spiral/roadrunner/v2/pipe_factory.go:106.18,107.21 1 168 +github.com/spiral/roadrunner/v2/pipe_factory.go:110.3,110.20 1 162 +github.com/spiral/roadrunner/v2/pipe_factory.go:107.21,109.4 1 6 +github.com/spiral/roadrunner/v2/pipe_factory.go:114.70,117.16 3 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:122.2,123.16 2 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:128.2,129.16 2 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:134.2,139.16 4 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:144.2,144.49 1 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:154.2,155.15 2 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:117.16,119.3 1 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:123.16,125.3 1 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:129.16,131.3 1 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:139.16,141.3 1 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:144.49,151.3 2 0 +github.com/spiral/roadrunner/v2/pipe_factory.go:159.56,161.2 1 0 +github.com/spiral/roadrunner/v2/process_state.go:28.61,32.16 4 28921 +github.com/spiral/roadrunner/v2/process_state.go:36.2,42.8 1 28921 +github.com/spiral/roadrunner/v2/process_state.go:32.16,34.3 1 0 +github.com/spiral/roadrunner/v2/process_state.go:46.51,48.35 2 0 +github.com/spiral/roadrunner/v2/process_state.go:57.2,57.20 1 0 +github.com/spiral/roadrunner/v2/process_state.go:48.35,50.17 2 0 +github.com/spiral/roadrunner/v2/process_state.go:54.3,54.33 1 0 +github.com/spiral/roadrunner/v2/process_state.go:50.17,52.4 1 0 +github.com/spiral/roadrunner/v2/protocol.go:21.57,27.32 5 215 +github.com/spiral/roadrunner/v2/protocol.go:44.2,45.16 2 215 +github.com/spiral/roadrunner/v2/protocol.go:49.2,54.16 5 215 +github.com/spiral/roadrunner/v2/protocol.go:58.2,58.12 1 210 +github.com/spiral/roadrunner/v2/protocol.go:27.32,29.37 1 0 +github.com/spiral/roadrunner/v2/protocol.go:33.3,38.17 5 0 +github.com/spiral/roadrunner/v2/protocol.go:41.3,41.13 1 0 +github.com/spiral/roadrunner/v2/protocol.go:29.37,31.4 1 0 +github.com/spiral/roadrunner/v2/protocol.go:38.17,40.4 1 0 +github.com/spiral/roadrunner/v2/protocol.go:45.16,47.3 1 0 +github.com/spiral/roadrunner/v2/protocol.go:54.16,56.3 1 5 +github.com/spiral/roadrunner/v2/protocol.go:61.48,64.16 3 173 +github.com/spiral/roadrunner/v2/protocol.go:68.2,70.25 3 173 +github.com/spiral/roadrunner/v2/protocol.go:73.2,73.16 1 170 +github.com/spiral/roadrunner/v2/protocol.go:76.2,76.19 1 170 +github.com/spiral/roadrunner/v2/protocol.go:80.2,82.40 2 170 +github.com/spiral/roadrunner/v2/protocol.go:86.2,88.16 3 170 +github.com/spiral/roadrunner/v2/protocol.go:92.2,92.29 1 170 +github.com/spiral/roadrunner/v2/protocol.go:64.16,66.3 1 0 +github.com/spiral/roadrunner/v2/protocol.go:70.25,72.3 1 3 +github.com/spiral/roadrunner/v2/protocol.go:73.16,75.3 1 0 +github.com/spiral/roadrunner/v2/protocol.go:76.19,78.3 1 0 +github.com/spiral/roadrunner/v2/protocol.go:82.40,84.3 1 0 +github.com/spiral/roadrunner/v2/protocol.go:88.16,90.3 1 0 +github.com/spiral/roadrunner/v2/state.go:66.35,68.2 1 194 +github.com/spiral/roadrunner/v2/state.go:71.33,72.19 1 28935 +github.com/spiral/roadrunner/v2/state.go:87.2,87.20 1 1 +github.com/spiral/roadrunner/v2/state.go:73.21,74.20 1 5 +github.com/spiral/roadrunner/v2/state.go:75.18,76.17 1 28843 +github.com/spiral/roadrunner/v2/state.go:77.20,78.19 1 83 +github.com/spiral/roadrunner/v2/state.go:79.20,80.19 1 0 +github.com/spiral/roadrunner/v2/state.go:81.20,82.19 1 1 +github.com/spiral/roadrunner/v2/state.go:83.20,84.19 1 2 +github.com/spiral/roadrunner/v2/state.go:91.34,93.2 1 28941 +github.com/spiral/roadrunner/v2/state.go:96.31,98.2 1 29283 +github.com/spiral/roadrunner/v2/state.go:101.33,104.2 2 5 +github.com/spiral/roadrunner/v2/state.go:107.34,109.2 1 772 +github.com/spiral/roadrunner/v2/state.go:112.32,114.2 1 163 +github.com/spiral/roadrunner/v2/state.go:117.40,119.2 1 165 +github.com/spiral/roadrunner/v2/state.go:121.35,123.2 1 6 +github.com/spiral/roadrunner/v2/supervisor_pool.go:28.97,37.2 2 3 +github.com/spiral/roadrunner/v2/supervisor_pool.go:44.94,46.25 2 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:50.2,53.12 4 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:68.2,68.6 1 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:46.25,48.3 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:53.12,55.17 2 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:62.3,65.4 1 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:55.17,60.4 1 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:68.6,69.10 1 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:70.21,71.64 1 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:72.19,73.22 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:77.4,77.21 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:73.22,75.5 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:82.60,85.16 3 101 +github.com/spiral/roadrunner/v2/supervisor_pool.go:88.2,88.17 1 101 +github.com/spiral/roadrunner/v2/supervisor_pool.go:85.16,87.3 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:91.68,93.2 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:95.50,97.2 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:99.60,103.2 3 171272 +github.com/spiral/roadrunner/v2/supervisor_pool.go:105.65,107.2 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:109.56,111.2 1 3 +github.com/spiral/roadrunner/v2/supervisor_pool.go:113.35,114.12 1 3 +github.com/spiral/roadrunner/v2/supervisor_pool.go:114.12,116.7 2 3 +github.com/spiral/roadrunner/v2/supervisor_pool.go:116.7,117.11 1 33 +github.com/spiral/roadrunner/v2/supervisor_pool.go:118.21,120.11 2 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:122.23,125.19 3 30 +github.com/spiral/roadrunner/v2/supervisor_pool.go:131.34,133.2 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:135.37,142.36 4 30 +github.com/spiral/roadrunner/v2/supervisor_pool.go:142.36,143.49 1 7 +github.com/spiral/roadrunner/v2/supervisor_pool.go:147.3,148.17 2 7 +github.com/spiral/roadrunner/v2/supervisor_pool.go:153.3,153.88 1 7 +github.com/spiral/roadrunner/v2/supervisor_pool.go:163.3,163.80 1 7 +github.com/spiral/roadrunner/v2/supervisor_pool.go:174.3,174.26 1 6 +github.com/spiral/roadrunner/v2/supervisor_pool.go:143.49,144.12 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:148.17,150.12 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:153.88,155.18 2 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:159.4,160.12 2 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:155.18,158.5 2 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:163.80,165.18 2 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:169.4,170.12 2 1 +github.com/spiral/roadrunner/v2/supervisor_pool.go:165.18,168.5 2 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:174.26,176.48 1 6 +github.com/spiral/roadrunner/v2/supervisor_pool.go:188.4,194.39 3 6 +github.com/spiral/roadrunner/v2/supervisor_pool.go:176.48,177.13 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:194.39,196.19 2 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:200.5,200.72 1 0 +github.com/spiral/roadrunner/v2/supervisor_pool.go:196.19,199.6 2 0 diff --git a/plugins/rpc/config_test.go b/plugins/rpc/config_test.go index 8b1d974a..67532bc8 100755 --- a/plugins/rpc/config_test.go +++ b/plugins/rpc/config_test.go @@ -1,6 +1,7 @@ package rpc import ( + "runtime" "testing" j "github.com/json-iterator/go" @@ -29,7 +30,11 @@ func TestConfig_Listener(t *testing.T) { }() assert.Equal(t, "tcp", ln.Addr().Network()) - assert.Equal(t, "0.0.0.0:18001", ln.Addr().String()) + if runtime.GOOS == "windows" { + assert.Equal(t, "[::]:18001", ln.Addr().String()) + } else { + assert.Equal(t, "0.0.0.0:18001", ln.Addr().String()) + } } func TestConfig_ListenerUnix(t *testing.T) { |