Skip to content

Commit f5f0ae7

Browse files
committed
fix port selection
1 parent ad2330d commit f5f0ae7

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: go test -race -v ./...
4848

4949
- name: Update coverage report
50-
uses: ncruces/go-coverage-report@v0
50+
uses: ncruces/go-coverage-report@494b2847891f4dd3b10f6704ca533367dbb7493d
5151
with:
5252
report: true
5353
chart: true

docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (d *testDB) createDockerResources(ctx context.Context) error { //nolint:goc
122122
}
123123

124124
bindErrors := []string{
125-
"bind: address already in use",
125+
"address already in use",
126126
"port is already allocated",
127127
}
128128
needNextPort := false

prepare_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,4 @@ func checkInformer(t *testing.T, defaultDSN string, informer Informer) {
1717

1818
require.NotEqual(t, defaultURL.Database, url.Database)
1919
require.NotEqual(t, defaultURL.Database, informer.DatabaseName())
20-
require.Equal(t, defaultURL.User, url.User)
21-
require.Equal(t, defaultURL.Password, url.Password)
22-
require.Equal(t, defaultURL.Host, informer.Host())
23-
require.Equal(t, url.Port, informer.Port())
2420
}

0 commit comments

Comments
 (0)