10 // MakeArvadosClient returns an error if this env var isn't
11 // available as a default token (even if we explicitly set a
12 // different token before doing anything with the client). We
13 // set this dummy value during init so it doesn't clobber the
14 // one used by "run test servers".
15 os.Setenv("ARVADOS_API_TOKEN", "xxx")
20 if os.Getenv("ARVADOS_API_HOST") == "" {
21 log.Fatal("ARVADOS_API_HOST environment variable must be set.")
24 if err := srv.Start(); err != nil {
27 log.Println("Listening at", srv.Addr)
28 if err := srv.Wait(); err != nil {