Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,450 for expect2 (0.28 sec)

  1. tests/integration/pilot/analyze_test.go

    		t.Fatal(err, output)
    	}
    
    	g.Expect(j).To(HaveLen(len(expected)))
    
    	for i, m := range j {
    		g.Expect(m["level"]).To(Equal(expected[i].Level().String()))
    		g.Expect(m["code"]).To(Equal(expected[i].Code()))
    	}
    }
    
    // istioctlSafe calls istioctl analyze with certain flags set. Stdout and Stderr are merged
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/ipset/ipset_test.go

    		}
    		if len(entries) != len(testCases[i].expected) {
    			t.Errorf("expected %d ipset entries, got: %d", len(testCases[i].expected), len(entries))
    		}
    		if !reflect.DeepEqual(entries, testCases[i].expected) {
    			t.Errorf("expected entries: %v, got: %v", testCases[i].expected, entries)
    		}
    	}
    }
    
    func TestListSets(t *testing.T) {
    	output := `foo
    bar
    baz`
    
    	expected := []string{"foo", "bar", "baz"}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  3. tests/integration/security/normalization_test.go

    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							for _, expected := range tt.expectations {
    								expected := expected
    								t.NewSubTest(expected.in).Run(func(t framework.TestContext) {
    									checker := check.URL(expected.out)
    									if expected.out == "400" {
    										checker = check.Status(http.StatusBadRequest)
    									}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. pkg/volume/util/volumeattributesclass_test.go

    						AlphaIsDefaultVolumeAttributesClassAnnotation: "true",
    					},
    				},
    			},
    			expect: true,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			actual := IsDefaultVolumeAttributesClassAnnotation(tc.class.ObjectMeta)
    			if tc.expect != actual {
    				t.Errorf("Expected %v, got %v", tc.expect, actual)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. src/crypto/tls/bogo_shim_test.go

    	onResumeExpectECHAccepted  = flag.Bool("on-resume-expect-ech-accept", false, "")
    	_                          = flag.Bool("on-resume-expect-no-ech-name-override", false, "")
    	expectedServerName         = flag.String("expect-server-name", "", "")
    
    	expectSessionMiss = flag.Bool("expect-session-miss", false, "")
    
    	_                       = flag.Bool("enable-early-data", false, "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. security/pkg/nodeagent/cache/secretcache_test.go

    		expected string
    	}{
    		{
    			name:     "no certs",
    			certs:    []string{},
    			expected: "",
    		},
    		{
    			name:     "single cert",
    			certs:    []string{"a"},
    			expected: "a",
    		},
    		{
    			name:     "multiple certs",
    			certs:    []string{"a", "b"},
    			expected: "a\nb",
    		},
    		{
    			name:     "existing newline",
    			certs:    []string{"a\n", "b"},
    			expected: "a\nb",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            spec.compileOptions.compilerArgs = ['--module-source-path', '/src/other']
            def expected = ["-g", "-proc:none", USE_UNSHARED_COMPILER_TABLE_OPTION, "-classpath", "", "--module-source-path", "/src/other"]
    
            expect:
            builder.build() == expected
            builder.noEmptySourcePath().build() == expected
        }
    
        String defaultEmptySourcePathRefFolder() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    	wrapped.ServeHTTP(w, testRequest)
    
    	if callCount != 1 {
    		t.Errorf("expected the given handler to be invoked once, but was actually invoked %d times", callCount)
    	}
    	if filterRecord == nil {
    		t.Fatal("expected a filter record in the request context, but got nil")
    	}
    	if filterName != filterRecord.name {
    		t.Errorf("expected filter name=%s but got=%s", filterName, filterRecord.name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. pilot/pkg/xds/discovery_test.go

    	}
    
    	if !wgDoneOrTimeout(wg, time.Second) {
    		t.Fatalf("Expected 5 pushes but got %v", len(pushes))
    	}
    	expected := map[string]int{
    		"proxy-0": 1,
    		"proxy-1": 1,
    		"proxy-2": 1,
    		"proxy-3": 1,
    		"proxy-4": 1,
    	}
    	if !reflect.DeepEqual(expected, pushes) {
    		t.Fatalf("Expected pushes %+v, got %+v", expected, pushes)
    	}
    }
    
    type fakeStream struct {
    	grpc.ServerStream
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/retry/retry_test.go

    				g.Expect(policy).To(Not(BeNil()))
    				g.Expect(policy.RetryOn).To(Equal("some,fake,conditions"))
    				g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3)))
    				g.Expect(policy.NumRetries.Value).To(Equal(uint32(2)))
    				g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0)))
    				g.Expect(policy.RetryPriority).To(BeNil())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top