Yanqin Jin
ccf7676455
Update a few scripts to be python3 compatible (#6525)
Summary:
There are a few scripts with python3 compatibility issues that were not
detected by automated tool before. Update them now.
Test Plan (devserver):
python2 tools/ldb_test.py
python3 tools/ldb_test.py
python2 tools/write_stress_runner.py --runtime_sec=30
python3 tools/write_stress_runner.py --runtime_sec=30
python2 tools/db_crashtest.py --simple --interval=2 --duration=10 blackbox
python3 tools/db_crashtest.py --simple --interval=2 --duration=10 blackbox
python2 tools/db_crashtest.py --simple --duration=10 --random_kill_odd=1000 --ops_per_thread=1000 whitebox
python3 tools/db_crashtest.py --simple --duration=10 --random_kill_odd=1000 --ops_per_thread=1000 whitebox
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6525
Reviewed By: cheng-chang
Differential Revision: D20627820
Pulled By: riversand963
fbshipit-source-id: 4b25a7bd4d001c7f868be8b640ef876523be6ca3