Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WaitForConfigOrFail (0.44 sec)

  1. pkg/test/framework/components/echo/sidecar.go

    	// response is not accepted, the request will be retried until either a timeout or a response
    	// has been accepted.
    	WaitForConfig(accept func(*admin.ConfigDump) (bool, error), options ...retry.Option) error
    	WaitForConfigOrFail(t test.Failer, accept func(*admin.ConfigDump) (bool, error), options ...retry.Option)
    
    	// Clusters for the Envoy instance
    	Clusters() (*admin.Clusters, error)
    	ClustersOrFail(t test.Failer) *admin.Clusters
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 03:49:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/kube/sidecar.go

    				configDumpStr = string(b)
    			}
    		}
    
    		return fmt.Errorf("failed waiting for Envoy configuration: %v. Last config_dump:\n%s", err, configDumpStr)
    	}
    	return nil
    }
    
    func (s *sidecar) WaitForConfigOrFail(t test.Failer, accept func(*admin.ConfigDump) (bool, error), options ...retry.Option) {
    	t.Helper()
    	if err := s.WaitForConfig(accept, options...); err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 03:49:49 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. pkg/test/framework/config.go

    					c.StableName(), err, s))
    			}
    		}
    	}
    	return outErr
    }
    
    func (c *configFactory) WaitForConfigOrFail(ctx resource.Context, t test.Failer, ns string, yamlText ...string) {
    	err := c.WaitForConfig(ctx, ns, yamlText...)
    	if err != nil {
    		// TODO(https://github.com/istio/istio/issues/37148) fail hard in this case
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top