summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile2
-rw-r--r--tests/memleak.php2
-rwxr-xr-xutils/network_windows_test.go3
3 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7c0cabbe..87999417 100755
--- a/Makefile
+++ b/Makefile
@@ -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) {