executor.exec("select id from sys.cluster");
response= executor.exec("select stmt from sys.jobs_log order by ended desc");
// there are 2 nodes so depending on whether both nodes were hit this should be either 1 or 2
// but never 3 because the queue size is only 1
assertThat(response.rowCount(), Matchers.lessThanOrEqualTo(2L));
assertThat((String)response.rows()[0][0], is("select id from sys.cluster"));
executor.exec("reset global stats.enabled, stats.jobs_log_size");
waitNoPendingTasksOnAll();
response= executor.exec("select * from sys.jobs_log");