Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for test_labels (0.16 sec)

  1. pkg/volume/downwardapi/downwardapi_test.go

    		files          map[string]string
    		modes          map[string]int32
    		podLabels      map[string]string
    		podAnnotations map[string]string
    		steps          []testStep
    	}{
    		{
    			name:      "test_labels",
    			files:     map[string]string{"labels": "metadata.labels"},
    			podLabels: labels1,
    			steps: []testStep{
    				// for steps that involve files, stepName is also
    				// used as the name of the file to verify
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            createJob(requestBody);
        }
    
        private static String createLabel() {
            Map<String, Object> labelBody = new HashMap<>();
            labelBody.put("name", TEST_LABEL);
            labelBody.put("value", TEST_LABEL);
            labelBody.put("included_paths", ".*tools.*");
            Response response = checkMethodBase(labelBody).put("/api/admin/labeltype/setting");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go

    				"selfLink":                   "test_selfLink",
    				"creationTimestamp":          "2009-11-10T23:00:00Z",
    				"deletionTimestamp":          "2010-11-10T23:00:00Z",
    				"labels": map[string]interface{}{
    					"test_label": "test_value",
    				},
    				"annotations": map[string]interface{}{
    					"test_annotation": "test_value",
    				},
    				"ownerReferences": []interface{}{
    					map[string]interface{}{
    						"kind":       "Pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 17.3K bytes
    - Viewed (0)
  4. pkg/controller/controller_ref_manager_test.go

    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/types"
    )
    
    var (
    	productionLabel         = map[string]string{"type": "production"}
    	testLabel               = map[string]string{"type": "testing"}
    	productionLabelSelector = labels.Set{"type": "production"}.AsSelector()
    	controllerUID           = "123"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 17:19:26 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  5. pkg/test/framework/label/labels_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package label
    
    import (
    	"strconv"
    	"testing"
    )
    
    func TestLabels(t *testing.T) {
    	tests := []struct {
    		filter   string
    		labels   Set
    		expected bool
    		err      bool
    	}{
    		{filter: "", labels: nil, expected: true},
    		{filter: "", labels: NewSet(Postsubmit), expected: true},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 18 17:08:05 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

        ::testing::internal::DeathTest* gtest_dt; \
        if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
            __FILE__, __LINE__, &gtest_dt)) { \
          goto GTEST_CONCAT_TOKEN_(gtest_label_, __LINE__); \
        } \
        if (gtest_dt != NULL) { \
          ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
              gtest_dt_ptr(gtest_dt); \
          switch (gtest_dt->AssumeRole()) { \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

        ::testing::internal::DeathTest* gtest_dt; \
        if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
            __FILE__, __LINE__, &gtest_dt)) { \
          goto GTEST_CONCAT_TOKEN_(gtest_label_, __LINE__); \
        } \
        if (gtest_dt != NULL) { \
          ::testing::internal::scoped_ptr< ::testing::internal::DeathTest> \
              gtest_dt_ptr(gtest_dt); \
          switch (gtest_dt->AssumeRole()) { \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. cni/pkg/repair/repair_test.go

    				InitExitCode:       126,
    				InitTerminationMsg: "Died for some reason",
    				LabelKey:           "testlabel",
    				LabelValue:         "true",
    			},
    			wantLabels: map[string]string{workingPod.Name: "", workingPodDiedPreviously.Name: "", brokenPodTerminating.Name: "testlabel=true"},
    			wantCount:  1,
    			wantTags:   map[string]string{"result": resultSkip, "type": labelType},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. cni/pkg/repair/repair_test_helpers.go

    var (
    	brokenPodTerminating = makePod(makePodArgs{
    		PodName: "broken-pod-terminating",
    		Annotations: map[string]string{
    			"sidecar.istio.io/status": "something",
    		},
    		Labels: map[string]string{
    			"testlabel": "true",
    		},
    		NodeName:            "test-node",
    		InitContainerStatus: &brokenInitContainerTerminating,
    	})
    
    	brokenPodWaiting = makePod(makePodArgs{
    		PodName: "broken-pod-waiting",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 12 17:39:53 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. pkg/registry/core/componentstatus/rest_test.go

    func TestList_WithLabelSelectors(t *testing.T) {
    	r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
    	opts := metainternalversion.ListOptions{
    		LabelSelector: labels.SelectorFromSet(map[string]string{
    			"testLabel": "testValue",
    		}),
    	}
    	got, err := r.List(genericapirequest.NewContext(), &opts)
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	expect := &api.ComponentStatusList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top