cleanups and minor docs

This commit is contained in:
Jonathan Shook
2023-10-16 00:21:19 -05:00
parent aaf58984d6
commit 921c6e17e3
29 changed files with 937 additions and 103 deletions

View File

@@ -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

View File

@@ -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");

View File

@@ -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")) {