Skip to content

Commit 38eae3c

Browse files
committed
* fix race condition in tests
1 parent ea01184 commit 38eae3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embedded_postgres_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ func Test_ConcurrentStart(t *testing.T) {
384384

385385
database := NewDatabase(DefaultConfig().
386386
RuntimePath(tempDir).
387-
Port(uint32(port)))
387+
Port(uint32(p)))
388388

389389
if err := database.Start(); err != nil {
390390
shutdownDBAndFail(t, err, database)

0 commit comments

Comments
 (0)