Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
panchoh committed Nov 12, 2018
1 parent 0c2786a commit d86f22f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/start_server
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function profiler_cmd {
ELAPSED=0
while curl -s -X POST http://localhost:8080/health-check 2>&1 > /dev/null ; do
(BALLOON_VERSION=$(curl -s http://localhost:6060/debug/vars | awk -F '"version": ' '/balloon_stats/ {print $2}' | tr -d '},')
# Avoid empty version beacause preload process is not already started...
# Avoid empty version because preload process is not already started...
: ${BALLOON_VERSION:=0}
go tool pprof -proto -sample_index=alloc_objects -output results/$(date +%s)-${BALLOON_VERSION}-mem-alloc-objects.pb.gz http://localhost:6060/debug/pprof/heap
go tool pprof -proto -sample_index=alloc_space -output results/$(date +%s)-${BALLOON_VERSION}-mem-alloc-space-top.pb.gz http://localhost:6060/debug/pprof/heap
Expand Down
2 changes: 1 addition & 1 deletion tests/stop_server
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ else
fuser -k -n tcp 8080 8081 8082 8083 8084 || true
fi
sleep 5
# rm -rf /var/tmp/demo.*
rm -rf /var/tmp/demo.*
rm -f /var/tmp/id_ed25519{,.pub}
echo done.

0 comments on commit d86f22f

Please sign in to comment.