From 5bab76a64d25dbc32c6beb372ae9724321f9c2b0 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 10 Jan 2022 16:36:02 +0000 Subject: [PATCH] run-cts: Hint to use --isolate on POST failures. Bug: dawn:1123 Change-Id: Ifac813410b7ec36e48282875c5915a5d8cf89282 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75904 Commit-Queue: Corentin Wallez Auto-Submit: Corentin Wallez Reviewed-by: Ben Clayton Commit-Queue: Ben Clayton --- src/dawn_node/tools/src/cmd/run-cts/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn_node/tools/src/cmd/run-cts/main.go b/src/dawn_node/tools/src/cmd/run-cts/main.go index f60e0246c6..98ae2792d5 100644 --- a/src/dawn_node/tools/src/cmd/run-cts/main.go +++ b/src/dawn_node/tools/src/cmd/run-cts/main.go @@ -555,7 +555,7 @@ func (r *runner) runServer(caseIndices <-chan int, results chan<- result) error } postResp, err := http.Post(fmt.Sprintf("http://localhost:%v/run?%v", port, r.testcases[idx]), "", &bytes.Buffer{}) if err != nil { - res.error = fmt.Errorf("server POST failure. Restarting server...") + res.error = fmt.Errorf("server POST failure. Restarting server... This can happen when there is a crash. Try running with --isolate.") res.status = fail results <- res stopServer()