Fixed abort messages not showing anymore

This commit is contained in:
Snaipe 2016-01-18 01:41:51 +01:00
parent e638cf3d43
commit 70c0593e23

View file

@ -295,6 +295,9 @@ bool handle_abort(struct server_ctx *sctx, struct client_ctx *ctx, const criteri
enum client_state curstate = ctx->state & (CS_MAX_CLIENT_STATES - 1);
if (ctx->state < CS_MAX_CLIENT_STATES) {
ctx->tstats->failed = 1;
log(test_abort, ctx->tstats, msg->message ? msg->message : "");
if (curstate < CS_TEARDOWN) {
double elapsed_time = 0;
push_event(POST_TEST, .data = &elapsed_time);