Skip to content

Commit 49dc98e

Browse files
committed
Fix test broken by merge
1 parent b59e468 commit 49dc98e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pgconn/pgconn_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4434,7 +4434,7 @@ func TestPipelineCloseDoesNotPanicOnMultipleFatalErrors(t *testing.T) {
44344434
return
44354435
}
44364436
backend.Send(&pgproto3.AuthenticationOk{})
4437-
backend.Send(&pgproto3.BackendKeyData{ProcessID: 0, SecretKey: 0})
4437+
backend.Send(&pgproto3.BackendKeyData{ProcessID: 0, SecretKey: []byte{0, 0, 0, 0}})
44384438
backend.Send(&pgproto3.ReadyForQuery{TxStatus: 'I'})
44394439
err = backend.Flush()
44404440
if err != nil {

0 commit comments

Comments
 (0)