mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:24:12 +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)
|
if (!actor)
|
||||||
continue;
|
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) {
|
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;
|
left -= 1;
|
||||||
if (status != as_successful) {
|
if (status != as_successful) {
|
||||||
if (global::config::failfast && !failed) {
|
if (global::config::failfast && !failed) {
|
||||||
@ -693,6 +693,9 @@ int main(int argc, char *const argv[]) {
|
|||||||
}
|
}
|
||||||
failed = true;
|
failed = true;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
log_verbose("actor #%u, id %d, pid %ld: %s\n", actor->actor_id,
|
||||||
|
actor->space_id, (long)pid, status2str(status));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (timeout_seconds_left == 0)
|
if (timeout_seconds_left == 0)
|
||||||
|
@ -360,6 +360,7 @@ actor_status osal_actor_info(const mdbx_pid_t pid) {
|
|||||||
status = as_coredump;
|
status = as_coredump;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
log_error("pid %u, ExitCode", pid, ExitCode);
|
||||||
status = as_failed;
|
status = as_failed;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user