Indeed, setting -wb=false is going to break ~every program.
It is intended only to be used in some very specialized tests (that don't
run the code in question).
On Sunday, November 17, 2024 at 6:53:35 PM UTC-8 蔺林 wrote:
> I'm debugging a similar issue, just out of curiosity why did you set the
I'm debugging a similar issue, just out of curiosity why did you set the
gcflag ' -wb=false'?
On Friday, 10 February 2023 at 15:24:45 UTC+8 Marcello H wrote:
> You could actually make a stress test inside a main_test.go with a
> benchmark for example, run that locally and see.
>
> It works over
You could actually make a stress test inside a main_test.go with a
benchmark for example, run that locally and see.
It works over here btw.
package main_test
import (
"net/http"
"net/http/httptest"
"testing"
"github.com/gorilla/mux"
"github.com/stretchr/testify/assert"
)
func pingServer(w http