diff options
author | Valery Piashchynski <[email protected]> | 2020-12-29 22:32:32 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-29 22:32:32 +0300 |
commit | 984953a9db1d94817bda2e3d9266583151b1b437 (patch) | |
tree | 70419ff5970540de61966eccfe861f12cc1e3589 | |
parent | 6fe9da5c7c06cd18c79cef017289b8274079db4c (diff) |
Rename Utils folder in the Makefile. Update memleak.php (char instead of
space). Format test for windows.
-rwxr-xr-x | Makefile | 2 | ||||
-rw-r--r-- | tests/memleak.php | 2 | ||||
-rwxr-xr-x | utils/network_windows_test.go | 3 |
3 files changed, 4 insertions, 3 deletions
@@ -25,7 +25,7 @@ uninstall: ## Uninstall locally installed RR test: ## Run application tests #go clean -testcache - go test -v -race -cover -tags=debug -covermode=atomic ./util + go test -v -race -cover -tags=debug -covermode=atomic ./utils go test -v -race -cover -tags=debug -covermode=atomic ./pkg/pipe go test -v -race -cover -tags=debug -covermode=atomic ./pkg/pool go test -v -race -cover -tags=debug -covermode=atomic ./pkg/socket diff --git a/tests/memleak.php b/tests/memleak.php index 9a5376f0..169fe4f5 100644 --- a/tests/memleak.php +++ b/tests/memleak.php @@ -10,6 +10,6 @@ require __DIR__ . "/vendor/autoload.php"; $rr = new RoadRunner(new StreamRelay(\STDIN, \STDOUT)); $mem = ''; while($rr->waitPayload()){ - $mem .= str_repeat(" ", 1024*1024); + $mem .= str_repeat("a", 1024*1024); $rr->send(""); } diff --git a/utils/network_windows_test.go b/utils/network_windows_test.go index 277dc970..59ec0485 100755 --- a/utils/network_windows_test.go +++ b/utils/network_windows_test.go @@ -3,8 +3,9 @@ package utils import ( - "github.com/stretchr/testify/assert" "testing" + + "github.com/stretchr/testify/assert" ) func TestCreateListener(t *testing.T) { |