20610: Removes the need to directly edit the arvados.sls pillar.
[arvados.git] / lib / diagnostics / cmd.go
index ed963e1ef75b42439ed1e23fef7d11e9a62a695c..8d89b84d37a6a8a7fb9789a3b0e06666974935d7 100644 (file)
@@ -131,6 +131,8 @@ func (diag *diagnoser) dotest(id int, title string, fn func() error) {
 
 func (diag *diagnoser) runtests() {
        client := arvados.NewClientFromEnv()
+       // Disable auto-retry, use context instead
+       client.Timeout = 0
 
        if client.APIHost == "" || client.AuthToken == "" {
                diag.errorf("ARVADOS_API_HOST and ARVADOS_API_TOKEN environment variables are not set -- aborting without running any tests")