Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for customHost (0.37 sec)

  1. pilot/pkg/bootstrap/server_test.go

    }
    
    func TestGetDNSNames(t *testing.T) {
    	tests := []struct {
    		name             string
    		customHost       string
    		discoveryAddress string
    		revision         string
    		sans             []string
    	}{
    		{
    			name:             "no customHost",
    			customHost:       "",
    			discoveryAddress: "istiod.istio-system.svc.cluster.local",
    			revision:         "default",
    			sans: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/net/smtp/smtp_test.go

    			t.Fatalf("NewClient: %v", err)
    		}
    		defer c.Close()
    		c.localName = "customhost"
    		err = nil
    
    		switch i {
    		case 0:
    			err = c.Hello("hostinjection>\n\rDATA\r\nInjected message body\r\n.\r\nQUIT\r\n")
    			if err == nil {
    				t.Errorf("Expected Hello to be rejected due to a message injection attempt")
    			}
    			err = c.Hello("customhost")
    		case 1:
    			err = c.StartTLS(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server.go

    	}
    
    	return err
    }
    
    func getDNSNames(args *PilotArgs, host string) []string {
    	// Append custom hostname if there is any
    	customHost := features.IstiodServiceCustomHost
    	var cHosts []string
    
    	if customHost != "" {
    		cHosts = strings.Split(customHost, ",")
    	}
    	sans := sets.New(cHosts...)
    	sans.Insert(host)
    	// The first is the recommended one, also used by Apiserver for webhooks.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4TestTaskIntegrationTest.groovy

            given:
            file('src/customTest/java/MyTest.java') << standaloneTestClass
    
            settingsFile << "rootProject.name = 'Sample'"
            buildFile << """
                sourceSets {
                    customTest
                }
    
                dependencies {
                    customTestImplementation 'junit:junit:${version}'
                }
    
                tasks.create('customTest', Test) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ProjectInternalViewDependencyIntegrationTest.groovy

            writeApiAccessibilityTest()
    
            when:
            succeeds "customTest"
    
            then:
            result.assertTaskExecuted(":jar")
        }
    
        def writeBaseBuildFile() {
            buildFile("""
                ${mavenCentralRepository()}
    
                testing {
                    suites {
                        customTest(JvmTestSuite) {
                            dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/validation/validation_test.go

    			Name: "PrioritySort",
    		}},
    	}, {
    		SchedulerName: "other",
    		Plugins: &config.Plugins{
    			QueueSort: config.PluginSet{
    				Enabled: []config.Plugin{{Name: "CustomSort"}},
    			},
    		},
    		PluginConfig: []config.PluginConfig{{
    			Name: "CustomSort",
    		}},
    	}}
    
    	extenderDuplicateManagedResource := validConfig.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy

            def test = project.task('customTest', type: Test.class)
            test.workingDir == project.projectDir
            test.reports.junitXml.outputLocation.get().asFile == new File(project.testResultsDir, 'customTest')
            test.reports.html.outputLocation.get().asFile == new File(project.testReportDir, 'customTest')
            test.reports.junitXml.required.get()
            test.reports.html.required.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/network_test.go

    }
    
    // creates a gateway that exposes 2 ports that are valid auto-passthrough ports
    // and it does so on an IP and a hostname
    func addOrUpdateGatewayResource(t *testing.T, c *FakeController, customPort int) {
    	passthroughMode := k8sv1.TLSModePassthrough
    	ipType := v1beta1.IPAddressType
    	hostnameType := v1beta1.HostnameAddressType
    	clienttest.Wrap(t, kclient.New[*v1beta1.Gateway](c.client)).CreateOrUpdate(&v1beta1.Gateway{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. platforms/jvm/jacoco/src/test/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginSpec.groovy

            then:
            task.extensions.getByType(JacocoTaskExtension) != null
        }
    
        def 'jacoco applied to Test task'() {
            given:
            Test task = project.tasks.create('customTest', Test)
            expect:
            task.extensions.getByType(JacocoTaskExtension) != null
        }
    
        @Requires(UnitTestPreconditions.Online)
        @Issue("GRADLE-3498")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginTest.groovy

            task.workingDir == project.projectDir
            task.reports.junitXml.outputLocation.get().asFile == new File(project.testResultsDir, 'customTest')
            task.reports.html.outputLocation.get().asFile == new File(project.testReportDir, 'customTest')
        }
    
        def "build other projects"() {
            given:
            def commonProject = TestUtil.createChildProject(project, "common")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top