diff options
Diffstat (limited to 'qa/run.sh')
| -rwxr-xr-x | qa/run.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -89,6 +89,9 @@ log "building API" dotnet build "$ROOT/src/FundLab.Api/FundLab.Api.fsproj" -v q --nologo >/dev/null log "starting API on 127.0.0.1:$API_PORT (stub interpreter, _synthetic payloads)" +# The stub serves NAV through 2026-09-21 and the driver asserts that trade date, so pin the +# trading-date clock (same test hook the xUnit fixture uses) instead of crossing the shanghai cutoff. +FUND_LAB_TEST_TRADE_DATE="2026-09-21" \ FUND_LAB_DATABASE_URL="Host=127.0.0.1;Port=$PG_PORT;Database=$PG_DB;Username=$PG_USER;Password=$PG_PASSWORD;Pooling=false" \ FUND_LAB_AUTH_TOKEN="$AUTH_TOKEN" \ FUND_LAB_AKSHARE_PYTHON="$QA_DIR/stub/fund-lab-python" \ |
