Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for testChain (0.19 sec)

  1. src/cmd/vet/vet_test.go

    	"internal/testenv"
    	"log"
    	"os"
    	"os/exec"
    	"path"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the vet command if
    // GO_VETTEST_IS_VET is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_VETTEST_IS_VET") != "" {
    		main()
    		os.Exit(0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. tests/integration/ambient/gateway_conformance_test.go

    )
    
    // GatewayConformanceInputs defines inputs to the gateway conformance test.
    // The upstream build requires using `testing.T` types, which we cannot pass using our framework.
    // To workaround this, we set up the inputs it TestMain.
    type GatewayConformanceInputs struct {
    	Client  kube.CLIClient
    	Cleanup bool
    }
    
    var gatewayConformanceInputs GatewayConformanceInputs
    
    // defined in sigs.k8s.io/gateway-api/conformance/base/manifests.yaml
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tests/integration/pilot/proxyconfig/proxyconfig_test.go

    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/test/util/tmpl"
    )
    
    var i istio.Instance
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Skip("used for feature development, no need to run in CI").
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&i, func(ctx resource.Context, cfg *istio.Config) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. tests/integration/security/filebased_tls_origination/main_test.go

    	server          echo.Instances
    	internalClient  echo.Instances
    	externalService echo.Instances
    	appNS           namespace.Instance
    	serviceNS       namespace.Instance
    	customConfig    []echo.Config
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&inst, setupConfig, cert.CreateCustomEgressSecret)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_test.go

    	if err != nil {
    		panic("failed to create temp file: " + err.Error())
    	}
    	path := file.Name()
    	file.WriteString(contents)
    	file.Close()
    	return path
    }
    
    // localListener is set up by TestMain and used by localPipe to create Conn
    // pairs like net.Pipe, but connected by an actual buffered TCP connection.
    var localListener struct {
    	mu   sync.Mutex
    	addr net.Addr
    	ch   chan net.Conn
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. src/net/main_test.go

    	// On Windows, Lookup APIs may not return IPv6-related
    	// resource records when a node has no external IPv6
    	// connectivity.
    	testIPv6 = flag.Bool("ipv6", false, "assume external IPv6 connectivity exists")
    )
    
    func TestMain(m *testing.M) {
    	setupTestData()
    	installTestHooks()
    
    	st := m.Run()
    
    	testHookUninstaller.Do(uninstallTestHooks)
    	if testing.Verbose() {
    		printRunningGoroutines()
    		printInflightSockets()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/time/tick_test.go

    	run(t, "NewTicker", func() { NewTicker(Hour) })
    	run(t, "NewTimerStop", func() { NewTimer(Hour).Stop() })
    	run(t, "NewTickerStop", func() { NewTicker(Hour).Stop() })
    }
    
    func TestChan(t *testing.T) {
    	for _, name := range []string{"0", "1", "2"} {
    		t.Run("asynctimerchan="+name, func(t *testing.T) {
    			t.Setenv("GODEBUG", "asynctimerchan="+name)
    			t.Run("Timer", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. tests/integration/security/ca_custom_root/main_test.go

    	serverNakedBar    echo.Instances
    	serverNakedFooAlt echo.Instances
    	customConfig      []echo.Config
    	echo1NS           namespace.Instance
    	config            deployment.Config
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		// k8s is required because the plugin CA key and certificate are stored in a k8s secret.
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&inst, setupConfig, cert.CreateCASecret)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/testsupport.go

    	"internal/coverage/pods"
    	"internal/coverage/rtcov"
    	"internal/runtime/atomic"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"unsafe"
    )
    
    // ProcessCoverTestDir is called from
    // testmain code when "go test -cover" is in effect. It is not
    // intended to be used other than internally by the Go command's
    // generated code.
    func ProcessCoverTestDir(dir string, cfile string, cm string, cpkg string, w io.Writer) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. tests/integration/security/file_mounted_certs/main_test.go

          "ISTIO_META_TLS_SERVER_KEY": "/server-certs/key.pem",
          "ISTIO_META_TLS_SERVER_ROOT_CERT": "/server-certs/root-cert.pem",
    	}
    `
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		RequireSingleCluster().
    		RequireMultiPrimary().
    		Setup(istio.Setup(&inst, setupConfig, CreateCustomIstiodSecret)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top