pgsql: Fix the random test failure in 001_rep_changes.

2021-08-31 Thread Amit Kapila
Fix the random test failure in 001_rep_changes. The check to test whether the subscription workers were restarting after a change in the subscription was failing. The reason was that the test was assuming the walsender started before it reaches the 'streaming' state and the walsender was exiting d

pgsql: Fix the random test failure in 001_rep_changes.

2021-08-31 Thread Amit Kapila
Fix the random test failure in 001_rep_changes. The check to test whether the subscription workers were restarting after a change in the subscription was failing. The reason was that the test was assuming the walsender started before it reaches the 'streaming' state and the walsender was exiting d

pgsql: Fix the random test failure in 001_rep_changes.

2021-08-31 Thread Amit Kapila
Fix the random test failure in 001_rep_changes. The check to test whether the subscription workers were restarting after a change in the subscription was failing. The reason was that the test was assuming the walsender started before it reaches the 'streaming' state and the walsender was exiting d

pgsql: Fix the random test failure in 001_rep_changes.

2021-08-31 Thread Amit Kapila
Fix the random test failure in 001_rep_changes. The check to test whether the subscription workers were restarting after a change in the subscription was failing. The reason was that the test was assuming the walsender started before it reaches the 'streaming' state and the walsender was exiting d

pgsql: Fix the random test failure in 001_rep_changes.

2021-08-31 Thread Amit Kapila
Fix the random test failure in 001_rep_changes. The check to test whether the subscription workers were restarting after a change in the subscription was failing. The reason was that the test was assuming the walsender started before it reaches the 'streaming' state and the walsender was exiting d

pgsql: Fix the random test failure in 001_rep_changes.

2021-08-31 Thread Amit Kapila
Fix the random test failure in 001_rep_changes. The check to test whether the subscription workers were restarting after a change in the subscription was failing. The reason was that the test was assuming the walsender started before it reaches the 'streaming' state and the walsender was exiting d