Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for testConfig (0.38 sec)

  1. pilot/pkg/config/memory/monitor_test.go

    	testEvent = model.EventAdd
    	var rev string
    	var err error
    	if rev, err = controller.Create(testConfig); err != nil {
    		t.Error(err)
    		return
    	}
    
    	lock.Lock()
    	testConfig.ResourceVersion = rev
    	lock.Unlock()
    
    	<-done
    
    	// Test Update Event
    	testEvent = model.EventUpdate
    	if _, err := controller.Update(testConfig); err != nil {
    		t.Error(err)
    		return
    	}
    	<-done
    
    	// Test Delete Event
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. pkg/controlplane/apiserver/options/validation.go

    		testConfigs := []string{"flowcontrol.apiserver.k8s.io/v1", "api/ga", "api/all"} // in the order of precedence
    		for _, testConfig := range testConfigs {
    			if strings.Contains(enabledAPIString, fmt.Sprintf("%s=false", testConfig)) {
    				return []error{fmt.Errorf("--runtime-config=%s=false conflicts with --enable-priority-and-fairness=true", testConfig)}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 12:46:24 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server_test.go

    	}
    }
    
    func TestSimpleError(t *testing.T) {
    	testClientHelloFailure(t, testConfig, &serverHelloDoneMsg{}, "unexpected handshake message")
    }
    
    var badProtocolVersions = []uint16{0x0000, 0x0005, 0x0100, 0x0105, 0x0200, 0x0205, VersionSSL30}
    
    func TestRejectBadProtocolVersion(t *testing.T) {
    	config := testConfig.Clone()
    	config.MinVersion = VersionSSL30
    	for _, v := range badProtocolVersions {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/nilcheck_test.go

    // It uses the worst possible input: A linear string of
    // nil checks, none of which can be eliminated.
    // Run with multiple depths to observe big-O behavior.
    func benchmarkNilCheckDeep(b *testing.B, depth int) {
    	c := testConfig(b)
    	ptrType := c.config.Types.BytePtr
    
    	var blocs []bloc
    	blocs = append(blocs,
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  5. src/crypto/tls/boring_test.go

    )
    
    func TestBoringServerProtocolVersion(t *testing.T) {
    	test := func(t *testing.T, name string, v uint16, msg string) {
    		t.Run(name, func(t *testing.T) {
    			serverConfig := testConfig.Clone()
    			serverConfig.MinVersion = VersionSSL30
    			clientConfig := testConfig.Clone()
    			clientConfig.MinVersion = v
    			clientConfig.MaxVersion = v
    			_, _, err := testHandshake(t, clientConfig, serverConfig)
    			if msg == "" {
    				if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

        private val nameToSubproject = subprojects.map { it.name to it }.toMap()
        override fun getSubprojectsForFunctionalTest(testConfig: TestCoverage) =
            subprojects.filter { it.hasTestsOf(testConfig.testType) }
    
        override fun getSubprojectByName(name: String) = nameToSubproject[name]
    
        private
        fun toSubproject(subproject: Map<String, Any>): GradleSubproject {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/crypto/tls/quic_test.go

    		}
    	}
    }
    
    func TestQUICSessionResumption(t *testing.T) {
    	clientConfig := testConfig.Clone()
    	clientConfig.MinVersion = VersionTLS13
    	clientConfig.ClientSessionCache = NewLRUClientSessionCache(1)
    	clientConfig.ServerName = "example.go.dev"
    
    	serverConfig := testConfig.Clone()
    	serverConfig.MinVersion = VersionTLS13
    
    	cli := newTestQUICClient(t, clientConfig)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/crypto/tls/conn_test.go

    	}
    }
    
    func TestDynamicRecordSizingWithStreamCipher(t *testing.T) {
    	config := testConfig.Clone()
    	config.MaxVersion = VersionTLS12
    	config.CipherSuites = []uint16{TLS_RSA_WITH_RC4_128_SHA}
    	runDynamicRecordSizingTest(t, config)
    }
    
    func TestDynamicRecordSizingWithCBC(t *testing.T) {
    	config := testConfig.Clone()
    	config.MaxVersion = VersionTLS12
    	config.CipherSuites = []uint16{TLS_RSA_WITH_AES_256_CBC_SHA}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_test.go

    		NotBefore:    testConfig.Time().Add(-time.Hour),
    		NotAfter:     testConfig.Time().Add(time.Hour),
    	}
    	certDER, err := x509.CreateCertificate(rand.Reader, tmpl, tmpl, k.Public(), k)
    	if err != nil {
    		t.Fatal(err)
    	}
    	cert, err := x509.ParseCertificate(certDER)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	clientConfig, serverConfig := testConfig.Clone(), testConfig.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/deadcode_test.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/compile/internal/types"
    	"fmt"
    	"strconv"
    	"testing"
    )
    
    func TestDeadLoop(t *testing.T) {
    	c := testConfig(t)
    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem")),
    		// dead loop
    		Bloc("deadblock",
    			// dead value in dead block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 23:01:51 UTC 2017
    - 3.5K bytes
    - Viewed (0)
Back to top