Skip to content

Commit

Permalink
Update github action config
Browse files Browse the repository at this point in the history
  • Loading branch information
acaloiaro committed Oct 4, 2023
1 parent afd1f4c commit c04ef69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ jobs:
postgres:
image: postgres:14-alpine
env:
TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable&pool_max_conns=2
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-timeout 10s
--health-retries 5
redis:
image: redis
Expand All @@ -42,6 +41,7 @@ jobs:
- name: test
run: make mod test coverage
env:
TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable&pool_max_conns=8
TEST_REDIS_URL: redis:6379
- name: upload results
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion backends/postgres/postgres_backend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func TestMultipleProcessors(t *testing.T) {

var execCount uint32
var wg sync.WaitGroup
count := 8
count := 4
neos := make([]neoq.Neoq, 0, count)
// Create several neoq processors such that we can enqueue several jobs and have them consumed by multiple different
// workers. We want to make sure that a job is not processed twice in a pool of many different neoq workers.
Expand Down

0 comments on commit c04ef69

Please sign in to comment.