Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for testkey (0.23 sec)

  1. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    			namespaceTolerations:      []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}},
    			podTolerations:            []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
    			mergedTolerations:         []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}, {Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/os/env_test.go

    		}
    	}(Environ())
    
    	if err := Setenv(testKey, testValue); err != nil {
    		t.Fatalf("Setenv(%q, %q) failed: %v", testKey, testValue, err)
    	}
    	if _, ok := LookupEnv(testKey); !ok {
    		t.Errorf("Setenv(%q, %q) didn't set $%s", testKey, testValue, testKey)
    	}
    	Clearenv()
    	if val, ok := LookupEnv(testKey); ok {
    		t.Errorf("Clearenv() didn't clear $%s, remained with value %q", testKey, val)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. cmd/sftp-server_test.go

    	if err != nil {
    		c.Fatalf("could not read test key file: %s", err)
    	}
    
    	testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes)
    	if err != nil {
    		c.Fatalf("could not parse test key file: %s", err)
    	}
    
    	newSSHCon := newSSHConnMock("dillon=ldap")
    	_, err = sshPubKeyAuth(newSSHCon, testKey)
    	if err == nil || !errors.Is(err, errAuthentication) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_cache_inputs.txt

    # should invalidate cached test results.
    env TESTKEY=x
    go test testcache -run=TestLookupEnv
    go test testcache -run=TestLookupEnv
    stdout '\(cached\)'
    
    # GODEBUG is always read
    env GODEBUG=asdf=1
    go test testcache -run=TestLookupEnv
    ! stdout '\(cached\)'
    go test testcache -run=TestLookupEnv
    stdout '\(cached\)'
    env GODEBUG=
    
    env TESTKEY=y
    go test testcache -run=TestLookupEnv
    ! stdout '\(cached\)'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair_test.go

    				InitExitCode:       126,
    				InitTerminationMsg: "Died for some reason",
    				LabelKey:           "testkey",
    				LabelValue:         "testval",
    			},
    			wantLabels: map[string]string{workingPod.Name: "", workingPodDiedPreviously.Name: "", brokenPodWaiting.Name: "testkey=testval"},
    			wantCount:  1,
    			wantTags:   map[string]string{"result": resultSuccess, "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)
  6. maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

        @Test
        void testEnvironmentVariablesAreInterpolated() throws Exception {
            Properties props = new Properties();
            props.put("key", "${env.testKey}");
            Xpp3Dom configurationChild = new Xpp3Dom("jdkHome");
            configurationChild.setValue("${env.testKey}");
            Xpp3Dom configuration = new Xpp3Dom("configuration");
            configuration.addChild(configurationChild);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/linearized_read_test.go

    	// detail ever changes.
    	// [1] https://etcd.io/docs/v3.5/learning/api_guarantees/#isolation-level-and-consistency-of-replicas
    	ctx, store, etcdClient := testSetup(t)
    
    	dir := "/testing"
    	key := dir + "/testkey"
    	out := &example.Pod{}
    	obj := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: "foo", SelfLink: "testlink"}}
    
    	if err := store.Create(ctx, key, obj, out, 0); err != nil {
    		t.Fatalf("Set failed: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 20:08:59 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	testCases := []struct {
    		key                 string
    		expectAttachedCount int64
    	}{
    		{
    			key:                 "testkey1",
    			expectAttachedCount: 1,
    		},
    		{
    			key:                 "testkey2",
    			expectAttachedCount: 2,
    		},
    		{
    			key: "testkey3",
    			// We assume each time has 1 object attached to the lease
    			// so after granting a new lease, the recorded count is set to 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go

    			if d := cmp.Diff(tt.want, got); d != "" {
    				t.Fatalf("EncryptionConfiguration validation results mismatch (-want +got):\n%s", d)
    			}
    		})
    	}
    }
    
    func TestKey(t *testing.T) {
    	root := field.NewPath("resources")
    	path := root.Index(0).Child("provider").Index(0).Child("key").Index(0)
    	testCases := []struct {
    		desc string
    		in   apiserver.Key
    		want field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 33.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go

    	t.tester = t.tester.ClusterScope()
    	return t
    }
    
    func (t *Tester) Namer(namer func(int) string) *Tester {
    	t.tester = t.tester.Namer(namer)
    	return t
    }
    
    func (t *Tester) AllowCreateOnUpdate() *Tester {
    	t.tester = t.tester.AllowCreateOnUpdate()
    	return t
    }
    
    func (t *Tester) GeneratesName() *Tester {
    	t.tester = t.tester.GeneratesName()
    	return t
    }
    
    func (t *Tester) ReturnDeletedObject() *Tester {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4.8K bytes
    - Viewed (0)
Back to top