api/vendor/github.com/go-xorm/xorm-redis-cache/run_test.sh
2018-10-27 09:33:28 +00:00

7 lines
136 B
Bash

redis-cli FLUSHALL
if [ $? == "0" ];then
go test -v -run=TestMysqlWithCache
else
echo "no redis-server running on localhost"
fi