mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
Try again to fix flaky TestEventFlood test (#4088)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
This commit is contained in:
parent
3c6e1a39e8
commit
2d3313e643
@ -101,6 +101,8 @@ refs:
|
||||
# Setting default number of threads to 2
|
||||
# since circleci allocates 2 cpus per test container
|
||||
GHCRTS: -N2
|
||||
# Until we can use a real webserver for TestEventFlood, limit concurrency:
|
||||
HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE: 8
|
||||
HASURA_GRAPHQL_DATABASE_URL: postgresql://gql_test:@localhost:5432/gql_test
|
||||
HASURA_GRAPHQL_DATABASE_URL_2: postgresql://gql_test:@localhost:5432/gql_test2
|
||||
GRAPHQL_ENGINE: /build/_server_output/graphql-engine
|
||||
|
@ -320,6 +320,9 @@ elif [ "$MODE" = "test" ]; then
|
||||
########################################
|
||||
cd "$PROJECT_ROOT/server"
|
||||
|
||||
# Until we can use a real webserver for TestEventFlood, limit concurrency
|
||||
export HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE=8
|
||||
|
||||
# We'll get an hpc error if these exist; they will be deleted below too:
|
||||
rm -f graphql-engine-tests.tix graphql-engine.tix graphql-engine-combined.tix
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user