def start_replica_cmd(builddir, replica_id, config): """ There are two test s3 config files. The one used here hasn't got s3-prefix parameter set its value will be an empty string. The effect of this is that on each RO replica start we have got empty S3 storage. This is the default behaviour for most of the tests. """ return start_replica_cmd_prefix(builddir, replica_id, config)
def start_replica_cmd(builddir, replica_id, config): """ There are two test s3 config files. The one used here hasn't got s3-prefix parameter set which means that on each RO replica start the prefix is some unique time based value. The effect of this is that on each RO replica start we have got empty S3 storage. This is the default behaviour for most of the tests. """ return start_replica_cmd_prefix(builddir, replica_id, config)
def start_replica_cmd_with_object_store(builddir, replica_id, config): """ Return a command that starts an skvbc replica when passed to subprocess.Popen. Note each arguments is an element in a list. """ ret = start_replica_cmd_prefix(builddir, replica_id, config) ret.extend(["-b", "2", "-q", "1", "-o", builddir + "/operator_pub.pem"]) return ret