mdbx-test: чуть больше логирования ошибок.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-10-06 13:52:05 +03:00
parent a95ee8daa3
commit 559f3005ca
2 changed files with 6 additions and 2 deletions

View File

@ -681,9 +681,9 @@ int main(int argc, char *const argv[]) {
if (!actor)
continue;
log_verbose("actor #%u, id %d, pid %ld: %s\n", actor->actor_id,
actor->space_id, (long)pid, status2str(status));
if (status > as_running) {
log_notice("actor #%u, id %d, pid %ld: %s\n", actor->actor_id,
actor->space_id, (long)pid, status2str(status));
left -= 1;
if (status != as_successful) {
if (global::config::failfast && !failed) {
@ -693,6 +693,9 @@ int main(int argc, char *const argv[]) {
}
failed = true;
}
} else {
log_verbose("actor #%u, id %d, pid %ld: %s\n", actor->actor_id,
actor->space_id, (long)pid, status2str(status));
}
} else {
if (timeout_seconds_left == 0)

View File

@ -360,6 +360,7 @@ actor_status osal_actor_info(const mdbx_pid_t pid) {
status = as_coredump;
break;
default:
log_error("pid %u, ExitCode", pid, ExitCode);
status = as_failed;
break;
}