Re: How abnormal server shutdown could be detected by tests?

2023-12-12 Thread Alexander Lakhin
Hello Shveta, 12.12.2023 11:44, shveta malik wrote: The postmaster process exits with exit code 1, but pg_ctl can't get the code and just reports that stop was completed successfully. For what it's worth, there is another thread which stated the similar problem:

Re: How abnormal server shutdown could be detected by tests?

2023-12-12 Thread shveta malik
On Sat, Dec 9, 2023 at 9:30 AM Alexander Lakhin wrote: > > Hello hackers, > > While studying bug #18158, I've come to the conclusion that the existing > testing infrastructure is unable to detect abnormal situations. of some > kind. > > Just a simple example: > With Assert(0) injected in

How abnormal server shutdown could be detected by tests?

2023-12-08 Thread Alexander Lakhin
Hello hackers, While studying bug #18158, I've come to the conclusion that the existing testing infrastructure is unable to detect abnormal situations. of some kind. Just a simple example: With Assert(0) injected in walsender (say: sed "s/WalSndDone(send_data)/Assert(0)/" -i