This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Use to test whether multiple concurrent replications can cause an error condition in CouchDB. | |
| Usage example: | |
| ``` | |
| python test_parallel_replication.py --threads 10 --iterations 40 --single-source | |
| ``` | |
| ''' | |
| import logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| logging.basicConfig(level=logging.INFO) | |
| log = logging.getLogger(__name__) | |
| import argparse | |
| import sys | |
| import threading | |
| import time | |
| import couchdb |