In this subtest, we do a jnlpool_init(GTMRELAXED) for a read access because ydb_custom_errors/gtm_custom_errors
env var is set. But the jnlpool is not set up yet. And so the jnlpool_init(GTMRELAXED) call allocates a
"jnlpool" structure but has a "jnlpool_ctl" pointer set to NULL when it returns. Later the test
starts the source server (using a zsystem) and then attempts an update on a database. This does a
jnlpool_init(GTMPROC) call which finds the previously allocated "jnlpool" structure and reuses it correctly
but has an assert that the jnlpool pointer from the gld should be NULL. It is not NULL due to the prior
jnlpool_init(GTMRELAXED) call. The fix is to add an || condition which verifies this particular scenario.
In this subtest, we do a jnlpool_init(GTMRELAXED) for a read access because ydb_custom_errors/gtm_custom_errors env var is set. But the jnlpool is not set up yet. And so the jnlpool_init(GTMRELAXED) call allocates a "jnlpool" structure but has a "jnlpool_ctl" pointer set to NULL when it returns. Later the test starts the source server (using a zsystem) and then attempts an update on a database. This does a jnlpool_init(GTMPROC) call which finds the previously allocated "jnlpool" structure and reuses it correctly but has an assert that the jnlpool pointer from the gld should be NULL. It is not NULL due to the prior jnlpool_init(GTMRELAXED) call. The fix is to add an || condition which verifies this particular scenario.