Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 207 for testLang (0.17 sec)

  1. pilot/pkg/model/sidecar_test.go

    		})
    	}
    }
    
    func BenchmarkConvertIstioListenerToWrapper(b *testing.B) {
    	b.Run("small-exact", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 10, 3, "", false)
    	})
    	b.Run("small-wildcard", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 10, 3, "*.", false)
    	})
    	b.Run("small-match-all", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 10, 3, "", true)
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  2. pkg/apis/storage/validation/validation_test.go

    	for _, test := range errorCases {
    		t.Run(test.name, func(t *testing.T) {
    			new := old.DeepCopy()
    			test.modify(new)
    			if errs := ValidateCSIDriverUpdate(new, &old); len(errs) == 0 {
    				t.Errorf("Expected failure for test: %+v", new)
    			}
    		})
    	}
    }
    
    func TestCSIDriverStorageCapacityEnablement(t *testing.T) {
    	run := func(t *testing.T, withField bool) {
    		driverName := "test-driver"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  3. pkg/apis/networking/validation/validation_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestValidateIngressRuleValue(t *testing.T) {
    	serviceBackend := networking.IngressServiceBackend{
    		Name: "defaultbackend",
    		Port: networking.ServiceBackendPort{
    			Name:   "",
    			Number: 80,
    		},
    	}
    	fldPath := field.NewPath("testing.http.paths[0].path")
    	testCases := map[string]struct {
    		pathType     networking.PathType
    		path         string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/manager_test.go

    	return
    }
    
    func TestNewManagerImpl(t *testing.T) {
    	socketDir, socketName, _, err := tmpSocketDir()
    	topologyStore := topologymanager.NewFakeManager()
    	require.NoError(t, err)
    	defer os.RemoveAll(socketDir)
    	_, err = newManagerImpl(socketName, nil, topologyStore)
    	require.NoError(t, err)
    	os.RemoveAll(socketDir)
    }
    
    func TestNewManagerImplStart(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_mounter_test.go

    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	fakeclient "k8s.io/client-go/kubernetes/fake"
    	clitesting "k8s.io/client-go/testing"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	pkgauthenticationv1 "k8s.io/kubernetes/pkg/apis/authentication/v1"
    	pkgcorev1 "k8s.io/kubernetes/pkg/apis/core/v1"
    	pkgstoragev1 "k8s.io/kubernetes/pkg/apis/storage/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"fmt"
    	"io"
    	"net/url"
    	"os"
    	slashpath "path"
    	"runtime"
    	"strings"
    	"syscall"
    	"testing"
    
    	"github.com/google/uuid"
    )
    
    func TestCheckPathLength(t *testing.T) {
    	// Check path length restrictions are not same on windows/darwin
    	if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
    		t.Skip()
    	}
    
    	testCases := []struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    }
    
    func TestComputePodActionsWithInitContainers(t *testing.T) {
    	t.Run("sidecar containers disabled", func(t *testing.T) {
    		testComputePodActionsWithInitContainers(t, false)
    	})
    	t.Run("sidecar containers enabled", func(t *testing.T) {
    		testComputePodActionsWithInitContainers(t, true)
    	})
    }
    
    func testComputePodActionsWithInitContainers(t *testing.T, sidecarContainersEnabled bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

    import com.google.common.base.Predicates;
    import com.google.common.collect.testing.IteratorFeature;
    import com.google.common.collect.testing.IteratorTester;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  9. pkg/apis/certificates/validation/validation_test.go

    	l := make([]string, num)
    	for i := 0; i < num; i++ {
    		l[i] = s
    	}
    	return strings.Join(l, "")
    }
    
    func newCSRPEM(t *testing.T) []byte {
    	template := &x509.CertificateRequest{
    		Subject: pkix.Name{
    			Organization: []string{"testing-org"},
    		},
    	}
    
    	_, key, err := ed25519.GenerateKey(rand.Reader)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  10. src/text/template/exec_test.go

    		}
    	}
    }
    
    func TestExecute(t *testing.T) {
    	testExecute(execTests, nil, t)
    }
    
    var delimPairs = []string{
    	"", "", // default
    	"{{", "}}", // same as default
    	"<<", ">>", // distinct
    	"|", "|", // same
    	"(日)", "(本)", // peculiar
    }
    
    func TestDelims(t *testing.T) {
    	const hello = "Hello, world"
    	var value = struct{ Str string }{hello}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top