Renamed dubious tests

This commit is contained in:
Carlos Salguero
2020-04-01 15:39:16 -03:00
parent b5a593dc16
commit 45522dea28
5 changed files with 3 additions and 2 deletions

View File

@@ -11,5 +11,5 @@ for dir in t/*
do
echo "$dir"
sandbox/test-env restart
prove -vw "$dir" | tee -a $LOG_FILE
prove -vw --trap --timer "$dir" | tee -a $LOG_FILE
done

View File

@@ -57,7 +57,8 @@ system('/tmp/12345/use -e "insert into issue_758.t select sleep(3)"');
# Slave seems to be lagging now so the first row should get purged
# immediately, then the script should wait about 2 seconds until
# slave lag is gone.
system("$cmd --source F=$cnf,D=issue_758,t=t --purge --where 'i>0' --check-slave-lag h=127.1,P=12346,u=msandbox,p=msandbox >/dev/null 2>&1 &");
#system("$cmd --source F=$cnf,D=issue_758,t=t --purge --where 'i>0' --check-slave-lag h=127.1,P=12346,u=msandbox,p=msandbox >/dev/null 2>&1 &");
system("$cmd --source F=$cnf,D=issue_758,t=t --purge --where 'i>0' --check-slave-lag h=127.1,P=12346,u=msandbox,p=msandbox &");
sleep 1;
is_deeply(