Skip to content

Commit

Permalink
use --runInBand
Browse files Browse the repository at this point in the history
  • Loading branch information
lolopinto committed Nov 30, 2024
1 parent 38e5777 commit ed360c8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
env:
POSTGRES_PASSWORD: postgres
name: 'PGOPTIONS'
value: '-c max_connections=500'
value: '-c max_connections=200'
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npm test -- --runInBand
env:
POSTGRES_PASSWORD: 'postgres'
POSTGRES_USER: 'postgres'
2 changes: 1 addition & 1 deletion examples/simple/src/ent/tests/user_full_text.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ beforeAll(async () => {
password,
port: 5432,
sslmode: "disable",
max: 500,
max: 200,
},
// log: ["query"],
});
Expand Down
2 changes: 1 addition & 1 deletion ts/src/core/db_postgres_parallel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ test("lots of writes at once", async () => {
user,
password,
database: tdb.getDB(),
max: 500,
max: 200,
host: "localhost",
},
});
Expand Down
2 changes: 1 addition & 1 deletion ts/src/testutils/db/temp_db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export class TempDB {
DB.initDB({
connectionString: connStr,
cfg: {
max: 500,
max: 200,
idleTimeoutMillis: 100,
},
});
Expand Down

0 comments on commit ed360c8

Please sign in to comment.