Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 102 for testChain (0.51 sec)

  1. tests/integration/pilot/localwatcher/localsecretwatcher_test.go

    	// to avoid excessive creation/tear down of deployments. In general, a test should only deploy echo if
    	// its doing something unique to that specific test.
    	apps = deployment.SingleNamespaceView{}
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		RequireExternalControlPlaneTopology().
    		RequireMinVersion(17).
    		RequireMinClusters(2).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/testing/internal/testdeps/deps.go

    	l.w.WriteString(name)
    	l.w.WriteByte('\n')
    }
    
    var log testLog
    
    func (TestDeps) StartTestLog(w io.Writer) {
    	log.mu.Lock()
    	log.w = bufio.NewWriter(w)
    	if !log.set {
    		// Tests that define TestMain and then run m.Run multiple times
    		// will call StartTestLog/StopTestLog multiple times.
    		// Checking log.set avoids calling testlog.SetLogger multiple times
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/testing/testing_test.go

    	"path/filepath"
    	"regexp"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    // This is exactly what a test would do without a TestMain.
    // It's here only so that there is at least one package in the
    // standard library with a TestMain, so that code is executed.
    
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_WANT_RACE_BEFORE_TESTS") == "1" {
    		doRace()
    	}
    
    	m.Run()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/internal/coverage/cfile/hooks.go

    // If 'istest' is true (indicating that the program in question is a
    // Go test binary), then we tentatively queue up both emitMetaData and
    // emitCounterData as exit hooks. In the normal case (e.g. regular "go
    // test -cover" run) the testmain.go boilerplate will run at the end
    // of the test, write out the coverage percentage, and then invoke
    // MarkProfileEmitted to indicate that no more work needs to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 02:32:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. tests/integration/security/https_jwt/main_test.go

    )
    
    var (
    	ist       istio.Instance
    	apps      deployment.SingleNamespaceView
    	jwtServer jwt.Server
    	echoNS    namespace.Instance
    	systemNs  namespace.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&ist, setupConfig)).
    		Setup(func(ctx resource.Context) error {
    			var err error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 09:55:58 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. tests/integration/security/main_test.go

    	// Servers
    	apps             deployment.TwoNamespaceView
    	authzServer      authz.Server
    	localAuthzServer authz.Server
    	jwtServer        jwt.Server
    
    	i istio.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Setup(istio.Setup(&i, func(c resource.Context, cfg *istio.Config) {
    			cfg.ControlPlaneValues = `
    values:
      global:
        logging:
          level: delta:debug
      pilot: 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/plugin_test.go

    	"runtime"
    	"strings"
    	"testing"
    	"time"
    )
    
    var globalSkip = func(t *testing.T) {}
    
    var gcflags string = os.Getenv("GO_GCFLAGS")
    var goroot string
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	log.SetFlags(log.Lshortfile)
    	os.Exit(testMain(m))
    }
    
    // tmpDir is used to cleanup logged commands -- s/tmpDir/$TMPDIR/
    var tmpDir string
    
    // prettyPrintf prints lines with tmpDir sanitized.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. tests/integration/pilot/multiplecontrolplanes/main_test.go

    	echo1NS    namespace.Instance
    	echo2NS    namespace.Instance
    	echo3NS    namespace.Instance
    	externalNS namespace.Instance
    	apps       deployment.Echos
    )
    
    // TestMain defines the entrypoint for multiple controlplane tests using revisions and discoverySelectors.
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		RequireMultiPrimary().
    		// Requires two CPs with specific names to be configured.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. tests/integration/ambient/untaint/main_test.go

    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/tests/integration/security/util/cert"
    )
    
    const (
    	Captured = "captured"
    )
    
    var i istio.Instance
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		RequireMinVersion(24).
    		Label(label.IPv4). // https://github.com/istio/istio/issues/41008
    		Setup(func(t resource.Context) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 14:58:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. tests/integration/ambient/main_test.go

    	// WaypointProxies by
    	WaypointProxies map[string]ambient.WaypointProxy
    }
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    // If a test requires a custom install it should go into its own package, otherwise it should go
    // here to reuse a single install across tests.
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		RequireMinVersion(24).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top