#!/bin/bash

kill -STOP $(pgrep memcached)

go run test.go &

PID=$!

sleep 15

kill -CONT $(pgrep memcached)

sleep 10

go run test.go

wait ${PID}
