Fix M10 timing trace failure handling
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m1s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 6m59s
Foundation / checks (network) (push) Canceled after 4m46s
Foundation / checks (client) (push) Canceled after 7m4s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m1s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 6m59s
Foundation / checks (network) (push) Canceled after 4m46s
Foundation / checks (client) (push) Canceled after 7m4s
This commit is contained in:
@@ -358,10 +358,10 @@ int trace(const Args& a) {
|
||||
sample.result = ms(now);
|
||||
sample.status = static_cast<int>(e.result.status);
|
||||
if (e.result.status != IntentStatus::admitted) {
|
||||
++resolved;
|
||||
std::printf("trace rejected sequence=%llu status=%u\n",
|
||||
static_cast<unsigned long long>(e.sequence),
|
||||
static_cast<unsigned>(e.result.status));
|
||||
return failed("intention rejected");
|
||||
}
|
||||
} else if (e.kind == Kind::outcome) {
|
||||
auto& sample = samples[e.sequence - 1];
|
||||
|
||||
Reference in New Issue
Block a user