mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-29 23:19:20 +08:00
mdbx-test: чуть больше логирования ошибок.
This commit is contained in:
parent
a95ee8daa3
commit
559f3005ca
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user