Parse flags for in integration test.

The default --v=10 might be reconsidered.
This commit is contained in:
Tim Hockin 2015-01-03 20:48:19 -08:00
parent 6fcb646ca5
commit 297c8d1d5a

View File

@ -19,6 +19,7 @@ limitations under the License.
package main package main
import ( import (
"flag"
"io/ioutil" "io/ioutil"
"net" "net"
"net/http" "net/http"
@ -548,6 +549,7 @@ func runServiceTest(client *client.Client) {
type testFunc func(*client.Client) type testFunc func(*client.Client)
func main() { func main() {
flag.Parse()
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())
util.ReallyCrash = true util.ReallyCrash = true
util.InitLogs() util.InitLogs()