graphql-engine/server/forks/hedis/test/run-test.sh
Puru Gupta 328b7b793f server: add support for redis clusters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8867
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 6ab173b02f6b8bf97ccbcdb00110fe147771c751
2023-06-05 12:11:59 +00:00

15 lines
434 B
Bash
Executable File

#!/usr/bin/env sh
set -e
echo "**These tests assume there is a redis server running on port 6379**"
# The -M argument limits heap size for 'testConstantSpacePipelining'.
cabal exec cabal test doctest
cabal test hedis-test --test-options="+RTS -M10m"
echo "------------------"
echo "hlint suggestions:"
echo "------------------"
find src ! -name 'Commands.hs' ! -type d \
| xargs -J % hlint % --ignore="Use import/export shortcut"