Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,026 for IsSkip (0.32 sec)

  1. pkg/scheduler/framework/plugins/nodeports/node_ports_test.go

    			expectedErr:  true,
    		},
    		"skip-queue-on-unscheduled": {
    			pod:          podWithHostPort.Obj(),
    			oldObj:       st.MakePod().Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		"skip-queue-on-non-hostport": {
    			pod:          podWithHostPort.Obj(),
    			oldObj:       st.MakePod().Node("fake-node").Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		"skip-queue-on-unrelated-hostport": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 11:02:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/interface.go

    	Wait
    	// Skip is used in the following scenarios:
    	// - when a Bind plugin chooses to skip binding.
    	// - when a PreFilter plugin returns Skip so that coupled Filter plugin/PreFilterExtensions() will be skipped.
    	// - when a PreScore plugin returns Skip so that coupled Score plugin will be skipped.
    	Skip
    	// Pending means that the scheduling process is finished successfully,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  3. tools/bug-report/pkg/cluster/cluster_test.go

    						},
    					},
    				},
    			},
    			false,
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			skip := shouldSkipPod(c.pod, c.config)
    			if skip != c.expected {
    				t.Errorf("shouldSkipPod() for test case name [%s] return= %v, want %v", c.name, skip, c.expected)
    			}
    		})
    	}
    }
    
    func TestShouldSkipDeployment(t *testing.T) {
    	cases := []struct {
    		name       string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 17:23:32 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. tests/test_dependency_overrides.py

            ),
            (
                "/router-depends/?q=foo",
                200,
                {"in": "router-depends", "params": {"q": "foo", "skip": 5, "limit": 10}},
            ),
            (
                "/router-depends/?q=foo&skip=100&limit=200",
                200,
                {"in": "router-depends", "params": {"q": "foo", "skip": 5, "limit": 10}},
            ),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/encryption-v1_test.go

    	for i, test := range testMPs {
    		{
    			// nil range
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(nil)
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    			}
    			if o != 0 || l != esum(test.oi) || skip != 0 || sn != 0 || ps != 0 {
    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		// Skip 1Mib and read 1Mib (in the decrypted object)
    		//
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  6. pkg/proxy/winkernel/hns_test.go

    	epPaAddress       = "10.0.0.3"
    	protocol          = 6
    	internalPort      = 80
    	externalPort      = 32440
    )
    
    func TestGetNetworkByName(t *testing.T) {
    	// TODO: remove skip once the test has been fixed.
    	t.Skip("Skipping failing test on Windows.")
    	hns := hns{hcn: newHcnImpl()}
    	Network := mustTestNetwork(t)
    
    	network, err := hns.getNetworkByName(Network.Name)
    	if err != nil {
    		t.Error(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics_gen_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgActiveWorkerStat(b *testing.B) {
    	v := ActiveWorkerStat{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. cmd/bucket-replication-utils_gen_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBucketReplicationResyncStatus(b *testing.B) {
    	v := BucketReplicationResyncStatus{}
    	b.ReportAllocs()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Aug 22 23:53:06 UTC 2022
    - 23K bytes
    - Viewed (0)
  9. cmd/data-usage-cache_gen_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgallTierStats(b *testing.B) {
    	v := allTierStats{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom_gen_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgPoolDecommissionInfo(b *testing.B) {
    	v := PoolDecommissionInfo{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 12 02:48:43 UTC 2022
    - 11K bytes
    - Viewed (0)
Back to top