Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,842 for expect2 (0.34 sec)

  1. cni/test/testdata/expected/minikube_cni.conflist.expected

    Ben Leggett <******@****.***> 1716316321 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 875 bytes
    - Viewed (0)
  2. pkg/kubelet/status/status_manager_test.go

    			if tc.updateFn != nil {
    				tc.updateFn(copied)
    			}
    			expected := copied.DeepCopy()
    
    			syncer.TerminatePod(copied)
    			status := expectPodStatus(t, syncer, tc.pod.DeepCopy())
    			if tc.expectFn != nil {
    				tc.expectFn(t, status)
    				return
    			}
    			if !reflect.DeepEqual(expected.Status, status) {
    				diff := cmp.Diff(expected.Status, status)
    				if len(diff) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  3. cmd/import-boss/main_test.go

    		input  []string
    		expect bool
    	}{{
    		input:  nil,
    		expect: false,
    	}, {
    		input:  []string{},
    		expect: false,
    	}, {
    		input:  []string{"foo.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo.go", "bar.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo_test.go"},
    		expect: true,
    	}, {
    		input:  []string{"foo.go", "foo_test.go"},
    		expect: true,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go

    		t.Fatalf("RemoveVolumeFromReportAsAttached failed. Expected: <no error> Actual: <%v>", markDesireToDetachErr)
    	}
    	if addErr != nil {
    		t.Fatalf("AddVolumeNode failed. Expected: <no error> Actual: <%v>", addErr)
    	}
    
    	// Assert
    	attachedVolumes := asw.GetAttachedVolumes()
    	if len(attachedVolumes) != 1 {
    		t.Fatalf("len(attachedVolumes) Expected: <1> Actual: <%v>", len(attachedVolumes))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 07:35:17 UTC 2024
    - 66.1K bytes
    - Viewed (0)
  5. pkg/volume/util/fsquota/quota_linux_test.go

    			fail = true
    			t.Errorf("Case %v (%s, %s, %v) podQuotaCount mismatch: got %v, expect %v", seq, testcase.name, testcase.path, enabled, len(podQuotaMap), expectedPodQuotaCount)
    		}
    		if len(dirQuotaMap) != expectedDirQuotaCount {
    			fail = true
    			t.Errorf("Case %v (%s, %s, %v) dirQuotaCount mismatch: got %v, expect %v", seq, testcase.name, testcase.path, enabled, len(dirQuotaMap), expectedDirQuotaCount)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. operator/pkg/util/progress/progress_test.go

    	bar.ReportError("some error")
    	expect(`❌ ` + cnbo + ` encountered an error: some error`)
    
    	foo.ReportProgress()
    	expect(`- Processing resources for ` + cnpo + `.`)
    
    	foo.ReportFinished()
    	expect(`🧠 ` + cnpo + ` installed`)
    
    	p.SetState(StatePruning)
    	expect(`- Pruning removed resources`)
    
    	p.SetState(StateComplete)
    	expect(`✅ Installation complete`)
    
    	p.SetState(StateUninstallComplete)
    	expect(`✅ Uninstall complete`)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. tests/integration/pilot/revisions/uninstall_test.go

    	// for purge case we expect all resources removed
    	if purge {
    		if len(reStrList) != 0 {
    			msg := fmt.Sprintf("resources expected to be pruned but still exist in the cluster: %s",
    				strings.Join(reStrList, " "))
    			scopes.Framework.Warnf(msg)
    			return fmt.Errorf(msg)
    		}
    		return nil
    	}
    	// for other cases, we expect base component resources to be kept.
    	if len(reStrList) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/runtime/coro_test.go

    	c := strings.SplitN(output, "\n", 2)
    	if len(c) == 1 {
    		t.Fatalf("expected at least one complete line in the output, got:\n%s", output)
    	}
    	expect, ok := strings.CutPrefix(c[0], "expect: ")
    	if !ok {
    		t.Fatalf("expected first line of output to start with \"expect: \", got: %q", c[0])
    	}
    	rest := c[1]
    	if expect == "OK" && rest != "OK\n" {
    		t.Fatalf("expected just 'OK' in the output, got:\n%s", rest)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:36:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    	goldenFile := filepath.Join("testdata", name+".golden")
    	testutil.CompareContent(t, gotBytes, goldenFile)
    }
    
    func TestBuilder(t *testing.T) {
    	cases := []struct {
    		name         string
    		expectV4     bool
    		expectV6     bool
    		config       func(builder *IptablesRuleBuilder)
    		sharedGolden bool
    	}{
    		{
    			"insert-single-v4",
    			true,
    			false,
    			func(builder *IptablesRuleBuilder) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtMultiplatformInfoProvider.kt

    public interface KaMultiplatformInfoProviderMixin : KaSessionMixIn {
    
        /**
         * Gives expect symbol for the actual one if it is available.
         *
         * @return a single expect declaration corresponds to the [KaDeclarationSymbol] on valid code or multiple expects in a case of erroneous code with multiple expects.
         **/
        public fun KaDeclarationSymbol.getExpectsForActual(): List<KaDeclarationSymbol> =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top