From 87e30182a14b4fbab893152f641bd92ad6e00109 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 6 Jun 2017 21:37:55 +0300 Subject: [PATCH] uasyncio: test-ab-medium.sh: Run ab on http://127.0.0.1 . On some hosts, http://localhost doesn't work, apparently ab resolve it via IPv6 or something. --- uasyncio/benchmark/test-ab-medium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uasyncio/benchmark/test-ab-medium.sh b/uasyncio/benchmark/test-ab-medium.sh index 383f1aa0..7d5edcca 100755 --- a/uasyncio/benchmark/test-ab-medium.sh +++ b/uasyncio/benchmark/test-ab-medium.sh @@ -12,6 +12,6 @@ micropython -O -X heapsize=200wK test_http_server_medium.py & sleep 1 -ab -n10000 -c100 http://localhost:8081/ +ab -n10000 -c100 http://127.0.0.1:8081/ kill %1