Skip to content

Commit

Permalink
add db_name parameter to sql connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
epapbak committed Oct 25, 2023
1 parent 6cdcd82 commit 740b5ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gotests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ name: Go tests

on:
push:
branches:
- master
pull_request:

jobs:
gotests:
runs-on: ubuntu-20.04
timeout-minutes: 60
strategy:
matrix:
go-version:
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers/mock_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func MustGetPostgresStorage(tb testing.TB, init bool) (storage.Storage, func())
storageConf.PGUsername = postgres

connString := fmt.Sprintf(
"host=%s port=%d user=%s password=%s sslmode=disable",
"host=%s port=%d user=%s password=%s dbname=aggregator sslmode=disable",
storageConf.PGHost, storageConf.PGPort, storageConf.PGUsername, storageConf.PGPassword,
)

Expand Down

0 comments on commit 740b5ca

Please sign in to comment.