Skip to content

Commit 1d4e59b

Browse files
committed
Reorder log-cursor thread in test
Signed-off-by: Mark Hannum <[email protected]>
1 parent 50d5fe9 commit 1d4e59b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

tests/phys_rep_tiered.test/runit

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,10 +1474,6 @@ function physrep_truncate
14741474
$CDB2SQL_EXE $CDB2_OPTIONS $DBNAME default "create table cktruncate(a int, b cstring(32))"
14751475
$CDB2SQL_EXE $CDB2_OPTIONS $DBNAME default "insert into cktruncate select *, 'good' from generate_series(1, 1000)"
14761476

1477-
rm -Rf $logcursor_output >/dev/null 2>&1
1478-
blocking_logcursor $logcursor_output $startlsn &
1479-
logcursorpid=$!
1480-
14811477
# Block until all standalones have these records
14821478
for node in $CLUSTER ; do
14831479
name="${REPL_DBNAME_PREFIX}_${node}"
@@ -1529,6 +1525,12 @@ function physrep_truncate
15291525
echo "Db $name on node $node has caught up"
15301526
done
15311527

1528+
rm -Rf $logcursor_output >/dev/null 2>&1
1529+
blocking_logcursor $logcursor_output $startlsn &
1530+
logcursorpid=$!
1531+
1532+
sleep 5
1533+
15321534
echo "Truncate to good LSN $goodlsn"
15331535
$CDB2SQL_EXE $CDB2_OPTIONS $DBNAME --host $mnode "exec procedure sys.cmd.truncate_log(\"$goodlsn\")"
15341536
r=$?

tests/quarantine.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ sc_timepart,UNKNOWN,181186021
3333
snapshot_during_truncate,UNKNOWN,181344241
3434
reqlog_update_during_sc,UNKNOWN,181484732
3535
scupdates_logicalsc_generated,UNKNOWN,181484749
36-
phys_rep_tiered_firstfile_generated,UNKNOWN,181484776
3736
sc_resume_logicalsc_generated,UNKNOWN,181484807

0 commit comments

Comments
 (0)