Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for test0 (0.13 sec)

  1. pkg/printers/internalversion/printers_test.go

    		},
    	}
    
    	for i, test := range tests {
    		rows, err := printEvent(&test.event, test.options)
    		if err != nil {
    			t.Fatal(err)
    		}
    		for i := range rows {
    			rows[i].Object.Object = nil
    		}
    		if !reflect.DeepEqual(test.expected, rows) {
    			t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expected, rows))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_test.go

    	// storing the services out of time order to test that it's being sorted properly.
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 3306, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 3306, protocol.MySQL, tnow))
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 9999, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 9999, protocol.MySQL, tnow))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  3. pilot/pkg/trustbundle/trustbundle_test.go

    	"os"
    	"path"
    	"sort"
    	"testing"
    	"time"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func readCertFromFile(filename string) string {
    	csrBytes, err := os.ReadFile(filename)
    	if err != nil {
    		return ""
    	}
    	return string(csrBytes)
    }
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy

        @Test
        @DisplayName("and a test display name")
        void test() {
        }
    }
    """
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':test', ['org.example.SimpleTests'])
            }
    
            then:
            jvmTestEvents {
                task(":test") {
                    suite("Gradle Test Run :test") {
                        suite("Gradle Test Executor") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    						Expression: "this.expression == unit.test",
    						Message:    "test2",
    					},
    				},
    			},
    			policyDecision: []PolicyDecision{
    				{
    					Action:  ActionDeny,
    					Reason:  metav1.StatusReasonForbidden,
    					Message: "test1",
    				},
    				{
    					Action:  ActionDeny,
    					Reason:  metav1.StatusReasonForbidden,
    					Message: "test2",
    				},
    			},
    			failPolicy: &fail,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

    import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
    import org.gradle.integtests.fixtures.ToBeFixedForIsolatedProjects
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.server.http.BlockingHttpServer
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.junit.Rule
    import spock.lang.Issue
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. src/cmd/dist/test.go

    			skipFunc = opt.skip
    		}
    	}
    	// Register each test package as a separate test.
    	register1 := func(test *goTest) {
    		if test.variant == "" {
    			panic("empty variant")
    		}
    		name := testName(test.pkg, test.variant)
    		t.addTest(name, heading, func(dt *distTest) error {
    			if skipFunc != nil {
    				msg, skip := skipFunc(dt)
    				if skip {
    					test.printSkip(t, msg)
    					return nil
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. .github/workflows/tests.yml

        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=postgres GORM_DSN="user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai" ./tests/tests_all.sh
    
      sqlserver:
        strategy:
          matrix:
            go: ['1.22', '1.21', '1.20']
            platform: [ubuntu-latest] # can not run test in macOS and windows
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_test.go

    	for _, test := range tests {
    		statusInfo := append(test.pod.Status.InitContainerStatuses[:], test.pod.Status.ContainerStatuses[:]...)
    		status := getPhase(test.pod, statusInfo, test.podIsTerminal)
    		assert.Equal(t, test.status, status, "[test %s]", test.test)
    	}
    }
    
    func TestPodPhaseWithRestartNever(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/SelfResolvingDependencyIntegrationTest.groovy

            outputContains("resolve-transitive: [lib.jar]")
        }
    
        // This test documents existing behaviour rather than desired behaviour
        @ToBeFixedForConfigurationCache(because = "Task uses the Configuration API")
        def "can query project dependency for its files"() {
            mavenRepo.module("group", "test1", "1.0").publish()
            mavenRepo.module("group", "test2", "1.0").publish()
    
            createDirs("child1", "child2", "child3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top