Comment 15 for bug 1064521

Revision history for this message
Ric Gamble (rgamble) wrote :

Please find attached sql-test.py.

This script requires mysql to be installed on the test platform and to be run with sudo if the user is not root.

It will create a database called test_db and a table called test in the local mySQL instance.

It will then update and select from the test table every 10 seconds.

It is currently set to loop 60 times giving 10 minutes of coverage.

It outputs current system time and iteration of the loop.

This script should be run at the same time as the zcat command.

The problem can be found when the timing of each iteration goes beyond 11 seconds

The script was written using Python 2.6.5 and has been tested using Python 2.7.3