test_log2sql.py #4

  • //
  • guest/
  • perforce_software/
  • utils/
  • log_analyzer/
  • test_log2sql.py
  • Commits
# Change User Description Committed
#4 23765 Robert Cowham Moved things down one level to psla dir to make it easier to see what belongs
#3 23720 Robert Cowham Fix failing tests due to NULL values and .p4ignore
#2 23636 Robert Cowham Merge in latests changes to log2sql.py
- much faster
- better at detecting completed commands and out of order vtrack
- full test harness
#1 23635 Robert Cowham Branch in tests
//guest/robert_cowham/perforce/utils/log_analysis/test_log2sql.py
#19 21796 Robert Cowham Handle rmt-FileFetch records which may be duplicates as they don't have 'completed' entries.
#18 21712 Robert Cowham Check for correct line number when looking to update for track entries
#17 21708 Robert Cowham Tweak parameters to improve error messages.
Make output to stdout optional
#16 21705 Robert Cowham Minor refactoring for clarity.
Process all completed records as we go.
#15 21704 Robert Cowham A couple more tests for log formats.
#14 21703 Robert Cowham Fix failing python3 test
Add new test to ignore error blocks
#13 21702 Robert Cowham Rework algorithm to process blocks at a time, and to avoid the SQL update statements.
Risk of increased memory vs improved speed.
#12 21697 Robert Cowham Parse rcpSnd/rpcRcv and add to database.
#11 21696 Robert Cowham Test for client/locks entry
#10 21694 Robert Cowham Handle null values properly
#9 21660 Robert Cowham Handle utf8 in python2 strings
#8 21656 Robert Cowham Avoid SQL quoting issues with alternative insert statement.
#7 21643 Robert Cowham Handle git-fusion entries (strip the json) - for --sql option
#6 21402 Robert Cowham Filter out swarm commands
Test for db content in a basic fashion.
#5 21396 Robert Cowham Test for update rows.
#4 21393 Robert Cowham Add a swarm test - large record.
Improve performance by skipping easy matches early.
#3 21374 Robert Cowham Write to sqllite db
#2 21368 Robert Cowham Make tests work under python3
#1 21367 Robert Cowham Restructured for unit tests, and first unit tests.