- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 107 for expectedly (0.15 sec)
-
cni/pkg/install/kubeconfig_test.go
KubeconfigFilename: "dork.cfg", } expectedKC, err := createKubeConfig(cfg) if err != nil { t.Fatalf("expected no error: %+v", err) } os.WriteFile(filepath.Join(cfg.MountedCNINetDir, cfg.KubeconfigFilename), []byte(expectedKC.Full), 0o644) err = checkExistingKubeConfigFile(cfg, expectedKC) if err != nil { t.Fatalf("expected no error, matching kubeconfig present, got %+v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/component/DefaultComponentIdentifierFactoryTest.groovy
def project = Mock(ProjectInternal) def expectedId = Stub(ProjectComponentIdentifier) def module = new ProjectBackedModule(project) when: def componentIdentifier = componentIdentifierFactory.createComponentIdentifier(module) then: project.owner >> Stub(ProjectState) { getComponentIdentifier() >> expectedId } and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.3K bytes - Viewed (0) -
src/testing/iotest/reader_test.go
} b = make([]byte, 5) n, err := obr.Read(b) if g, w := err, io.EOF; g != w { t.Errorf("Error mismatch\n\tGot: %v\n\tWant: %v", g, w) } if g, w := n, 0; g != w { t.Errorf("Unexpectedly read %d bytes, wanted %d", g, w) } } func TestHalfReader_nonEmptyReader(t *testing.T) { msg := "Hello, World!" buf := new(bytes.Buffer) buf.WriteString(msg) // empty read buffer hr := HalfReader(buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 07:03:10 UTC 2022 - 6.1K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
{IP: "10.0.0.10"}, {IP: "10.0.0.20"}, }, }, }, expectedIP: "10.0.0.10", }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { podIP := getPodIP(tc.pod) if podIP != tc.expectedIP { t.Errorf("expected pod ip:%v does not match actual %v", tc.expectedIP, podIP) } }) } } type fakeTransport struct { val string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy
boolean killed = false void setup() { toolingApi.requireIsolatedDaemons() } def "should received failed event when daemon disappears unexpectedly with TAPI higher 2.4"() { given: goodCode() def sync = server.expectAndBlock('sync') when: def result = [] withConnection { ProjectConnection connection ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K bytes - Viewed (0) -
releasenotes/notes/47538.yaml
apiVersion: release-notes/v2 kind: bug-fix area: installation issue: - 47423 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Nov 11 13:19:22 UTC 2023 - 216 bytes - Viewed (0) -
releasenotes/notes/48780.yaml
apiVersion: release-notes/v2 kind: bug-fix area: installation issue: - 47423 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 16 17:43:49 UTC 2024 - 216 bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
if err != nil { t.Fatal(err) } expectStableQueueLength := func(expected int) { t.Helper() for i := 0; i < 5; i++ { if actual := dsc.queue.Len(); actual != expected { t.Fatalf("expected queue len to remain at %d, got %d", expected, actual) } time.Sleep(10 * time.Millisecond) } } waitForQueueLength := func(expected int, msg string) { t.Helper() i := 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/kube/controllers/common_test.go
ObjectMeta: metav1.ObjectMeta{ Name: "pod", Namespace: "ns", OwnerReferences: []metav1.OwnerReference{}, }, }) if got := written.Load(); got != "" { t.Fatalf("unexpectedly enqueued %v", got) } handler(&corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod", Namespace: "ns", OwnerReferences: []metav1.OwnerReference{{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 15 15:34:49 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/sizeof_test.go
// license that can be found in the LICENSE file. package types import ( "reflect" "testing" "unsafe" ) // Assert that the size of important structures do not change unexpectedly. func TestSizeof(t *testing.T) { const _64bit = unsafe.Sizeof(uintptr(0)) == 8 var tests = []struct { val interface{} // type as a value _32bit uintptr // size on 32bit platforms
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:08:44 UTC 2024 - 1K bytes - Viewed (0)