more stuff
This commit is contained in:
parent
c3cb36c8d6
commit
7dec0be3b4
26 changed files with 1394 additions and 275 deletions
|
|
@ -4,6 +4,10 @@ if (!url || !new URL(url).pathname.startsWith('/stock_bot_safety')) {
|
|||
'Set PIPELINE_TEST_DATABASE_URL to a disposable stock_bot_safety database; tests create/drop isolated schemas'
|
||||
);
|
||||
}
|
||||
const redisUrl = process.env.BACKTEST_TEST_REDIS_URL;
|
||||
if (!redisUrl || new URL(redisUrl).pathname !== '/15') {
|
||||
throw new Error('Set BACKTEST_TEST_REDIS_URL to a dedicated Redis fixture using database 15');
|
||||
}
|
||||
const child = Bun.spawn([process.execPath, 'test', 'test/postgres/'], {
|
||||
stdin: 'inherit',
|
||||
stdout: 'inherit',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue