-
Notifications
You must be signed in to change notification settings - Fork 212
/
.envrc
37 lines (29 loc) 路 1.27 KB
/
.envrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
export SERVER_ROOT=$(pwd)
export RUST_LOG_FORMAT=devel
export RUST_BACKTRACE=1
export RUST_LOG=query_engine_tests=trace,query_engine=debug,query_core=trace,query_connector=debug,sql_query_connector=debug,prisma_models=debug,engineer=info,sql_introspection_connector=debug
export SKIP_CONNECTORS="vitess_5_7,vitess_8_0"
# Controls Scala test kit verbosity. Levels are trace, debug, info, error, warning
export LOG_LEVEL=trace
# Controls Scala test kit test complexity ("simple", "complex")
export TEST_MODE=simple
# Controls scala test kit binary build mode ("debug", "release"): Defaults to "release" if not set.
export TEST_BINARY_BUILD_MODE=debug
# Local dev env
export PRISMA_CONFIG_PATH=$(pwd)/prisma.yml
export PRISMA_DML_PATH=$(pwd)/datamodel_v2.prisma
export PRISMA2_BINARY_PATH="/usr/local/lib/node_modules/prisma2/"
export PRISMA_BINARY_PATH=$(pwd)/target/release/query-engine
export MIGRATION_ENGINE_BINARY_PATH=$(pwd)/target/release/migration-engine
# This must be in sync with the setting in the engineer build CLI
export SQLITE_MAX_VARIABLE_NUMBER=250000
if command -v nix-shell &> /dev/null
then
use nix
fi
# New test vars
#export LOG_LEVEL=debug
export WORKSPACE_ROOT=$(pwd)
export TEST_RUNNER="direct"
export TEST_CONNECTOR="postgres"
export TEST_CONNECTOR_VERSION="10"