Skip to content

Commit

Permalink
Fix rare suppl_inst_A_1/instinfoprop subtest failure due to lack of I…
Browse files Browse the repository at this point in the history
…NSUNKNOWN message in receiver server log
  • Loading branch information
nars1 committed May 15, 2018
1 parent 6381203 commit d69fc2f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions suppl_inst_A/u_inref/instinfoprop.csh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ get_msrtime
unsetenv needupdatersync
$MSR RUN INST2 '$gtm_tst/com/wait_for_log.csh -log RCVR_'${time_msr}'.log -message "History has non-zero Supplementary Stream" -duration 30'
$MSR STOP INST1 INST2
# Stop INST2 -> INST3 replication but do not wait for the instances to be synced (all 1 million updates done above)
# as it will take a while and increases the possibility of a connection reset/re-establish sequence
# (e.g. due to heartbeat loss etc.) and that could in turn inadvertently propagate the non-zero supplementary instance
# information from INST1 onto INST3 on the reconnection which would result in no INSUNKNOWN error when INST1 and INST3
# later connect in the test.
setenv gtm_test_norfsync
$MSR STOP INST2 INST3
unsetenv gtm_test_norfsync
$MSR STARTSRC INST3 INST2 RP
# INST3 receiver start will fail because it doesn't yet know about INST1, so we will retry with updateresync after that
$MSR STARTSRC INST1 INST3 RP
Expand Down

0 comments on commit d69fc2f

Please sign in to comment.