Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 112 for testify (0.16 sec)

  1. istioctl/pkg/install/k8sversion/version_test.go

    		t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) {
    			got, err := extractKubernetesVersion(c.version)
    			if c.errMsg != err && c.isValid {
    				t.Fatalf("\nwanted: %v \nbut found: %v", c.errMsg, err)
    			}
    			if got != c.expected {
    				t.Fatalf("wanted %v got %v", c.expected, got)
    			}
    		})
    	}
    }
    
    func TestIsK8VersionSupported(t *testing.T) {
    	cases := []struct {
    		version *version.Info
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/logging/testdata/logging.txt

      misc: warning
      mongo: warning
      quic: warning
      pool: warning
      rbac: warning
      redis: warning
      router: warning
      runtime: warning
      stats: warning
      secret: warning
      tap: warning
      testing: warning
      thrift: warning
      tracing: warning
      upstream: warning
      udp: warning
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 02 13:47:26 GMT 2019
    - 715 bytes
    - Viewed (0)
  3. common/scripts/metallb-native.yaml

    # Downloaded from https://github.com/metallb/metallb/raw/v0.13.12/config/manifests/metallb-native.yaml
    # With quay.io hub replaced with gcr.io/istio-testing
    # And probes tuned to startup faster
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        pod-security.kubernetes.io/audit: privileged
        pod-security.kubernetes.io/enforce: privileged
        pod-security.kubernetes.io/warn: privileged
      name: metallb-system
    ---
    apiVersion: apiextensions.k8s.io/v1
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/core/v1/generated.proto

      optional AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2;
    
      // hostPath represents a directory on the host.
      // Provisioned by a developer or tester.
      // This is useful for single-node development and testing only!
      // On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster.
      // More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair_test.go

    		config config.RepairConfig
    		pod    *corev1.Pod
    		want   bool
    	}{
    		{
    			"Testing OK pod with only ExitCode check",
    			config.RepairConfig{
    				SidecarAnnotation: "sidecar.istio.io/status",
    				InitContainerName: constants.ValidationContainerName,
    				InitExitCode:      126,
    			},
    			workingPod,
    			false,
    		},
    		{
    			"Testing working pod (that previously died) with only ExitCode check",
    			config.RepairConfig{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/pod_cache_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"reflect"
    	"sync/atomic"
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    func openNsTestOverride(s string) (NetnsCloser, error) {
    	return newFakeNs(inc()), nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/sds/writer_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package sdscompare
    
    import (
    	"bytes"
    	"strings"
    	"testing"
    )
    
    func TestSDSWriterSecretItems(t *testing.T) {
    	tests := []struct {
    		name       string
    		format     Format
    		items      []SecretItem
    		expected   []string
    		unexpected []string
    	}{
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  8. istioctl/pkg/analyze/analyze_test.go

    // limitations under the License.
    
    package analyze
    
    import (
    	"strings"
    	"testing"
    
    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util/testutil"
    	"istio.io/istio/pkg/config/analysis/diag"
    )
    
    func TestErrorOnIssuesFound(t *testing.T) {
    	g := NewWithT(t)
    
    	msgs := []diag.Message{
    		diag.NewMessage(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    // limitations under the License.
    
    package ztunnelconfig
    
    import (
    	"bytes"
    	"fmt"
    	"net/http"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/kube"
    )
    
    type execTestCase struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/healthServer_test.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestServer(t *testing.T) {
    	router := http.NewServeMux()
    	installReady, watchReady := initRouter(router)
    
    	assert.Equal(t, installReady.Load(), false)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top