vs code 设置 go test 超时时间 在 vs code 设置界面搜索 go test timeout 修改超时时间即可 如果是命令行可使用 -timeout xxx 参数设置,如:go test -timeout 200s -v ./...