mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
cleanups and minor docs
This commit is contained in:
@@ -35,7 +35,7 @@ public class ProcessInvoker {
|
||||
/**
|
||||
* Run the process with a specified timeout and alias.
|
||||
*
|
||||
* @param alias the name of the process for logging and result gathering
|
||||
* @param alias the name of the process for logging and samples gathering
|
||||
* @param timeoutSeconds the number of seconds to wait for the process to return
|
||||
* @param cmdline the command line
|
||||
* @return a ProcessResult
|
||||
|
||||
@@ -39,7 +39,7 @@ public class ProcessResult {
|
||||
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(String.format("--- process result\nstatus:%d", exitStatus));
|
||||
sb.append(String.format("--- process samples\nstatus:%d", exitStatus));
|
||||
sb.append(String.format(" time:%.3fs", (durationNanos/1000000000.0)));
|
||||
sb.append(String.format(" dir:%s",cmdDir));
|
||||
sb.append("\n--- stdout:\n");
|
||||
|
||||
@@ -131,8 +131,8 @@ public class WorkloadContainerVerifications {
|
||||
// try (CqlSession session = CqlSession.builder().addContactPoint(new InetSocketAddress(hostIP, mappedPort9042)).withLocalDatacenter(datacenter).build()) {
|
||||
// //->Check for the creation of the keyspace baselines
|
||||
// logger.info("Checking for the creation of the keyspace \"baselines\"...");
|
||||
// ResultSet result = session.execute("SELECT keyspace_name FROM system_schema.keyspaces");
|
||||
// List<Row> rows = result.all();
|
||||
// ResultSet samples = session.execute("SELECT keyspace_name FROM system_schema.keyspaces");
|
||||
// List<Row> rows = samples.all();
|
||||
// boolean keyspaceFound = false;
|
||||
// for (Row row : rows) {
|
||||
// if (row.getString("keyspace_name").equals("baselines")) {
|
||||
@@ -145,8 +145,8 @@ public class WorkloadContainerVerifications {
|
||||
//
|
||||
// //->Check for the creation of the baselines keyvalue table
|
||||
// logger.info("Checking for the creation of the table \"baselines.keyvalue\"...");
|
||||
// result = session.execute("SELECT table_name FROM system_schema.tables WHERE keyspace_name='baselines'");
|
||||
// rows = result.all();
|
||||
// samples = session.execute("SELECT table_name FROM system_schema.tables WHERE keyspace_name='baselines'");
|
||||
// rows = samples.all();
|
||||
// boolean tableFound = false;
|
||||
// for (Row row : rows) {
|
||||
// if (row.getString("table_name").equals("keyvalue")) {
|
||||
|
||||
Reference in New Issue
Block a user