diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-08 03:57:16 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-08 04:02:37 +0900 |
| commit | a062af23b2e72c38b667e969652aefcf2238dc1b (patch) | |
| tree | cbcaa732e083d9465e11396ffc555ba08e0f87ef /worker | |
| parent | 4eb7e89d6a77a4434bd087fbb86873521d30a8f5 (diff) | |
| download | iosdc-japan-2024-albatross-a062af23b2e72c38b667e969652aefcf2238dc1b.tar.gz iosdc-japan-2024-albatross-a062af23b2e72c38b667e969652aefcf2238dc1b.tar.zst iosdc-japan-2024-albatross-a062af23b2e72c38b667e969652aefcf2238dc1b.zip | |
feat(backend): aggregate testcase results
Diffstat (limited to 'worker')
| -rw-r--r-- | worker/exec.go | 2 | ||||
| -rw-r--r-- | worker/models.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/worker/exec.go b/worker/exec.go index 10bc99a..fb238c3 100644 --- a/worker/exec.go +++ b/worker/exec.go @@ -77,7 +77,7 @@ func convertCommandErrorToResultType(err error) string { if err == context.DeadlineExceeded { return resultTimeout } else { - return resultFailure + return resultRuntimeError } } else { return resultSuccess diff --git a/worker/models.go b/worker/models.go index a7310bd..c60002c 100644 --- a/worker/models.go +++ b/worker/models.go @@ -7,7 +7,7 @@ import ( const ( resultSuccess = "success" - resultFailure = "failure" + resultRuntimeError = "runtime_error" resultTimeout = "timeout" resultInternalError = "internal_error" ) |
