Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 102 for testChain (0.29 sec)

  1. src/cmd/go/testdata/script/build_trimpath_goroot.txt

    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	fmt.Println("runtime", p.Dir)
    }
    -- main_test.go --
    package main
    
    import "testing"
    
    func TestMain(*testing.M) {
    	main()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/objdump/objdump_test.go

    	"flag"
    	"fmt"
    	"internal/platform"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the objdump command if
    // GO_OBJDUMPTEST_IS_OBJDUMP is set, and runs the test otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_OBJDUMPTEST_IS_OBJDUMP") != "" {
    		main()
    		os.Exit(0)
    	}
    
    	os.Setenv("GO_OBJDUMPTEST_IS_OBJDUMP", "1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. tests/integration/security/sds_ingress/quic/ingress_test.go

    )
    
    var (
    	inst         istio.Instance
    	apps         deployment.SingleNamespaceView
    	echo1NS      namespace.Instance
    	customConfig []echo.Config
    )
    
    func TestMain(m *testing.M) {
    	// Integration test for the ingress SDS Gateway flow.
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		// Need support for MixedProtocolLBService
    		RequireMinVersion(20).
    		RequireMultiPrimary().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tests/integration/pilot/cni/cniversionskew_test.go

    					t.Fatal(err)
    				}
    				if err := apps.All.Instances().Restart(); err != nil {
    					t.Fatalf("Failed to restart apps %v", err)
    				}
    				common.RunAllTrafficTests(t, i, apps)
    			}
    		})
    }
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.Postsubmit).
    		Label(label.CustomSetup).
    		RequireMultiPrimary().
    		Setup(istio.Setup(&i, nil)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tests/integration/pilot/mcs/autoexport/autoexport_test.go

    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/tests/integration/pilot/mcs/common"
    )
    
    var (
    	i     istio.Instance
    	echos common.EchoDeployment
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		RequireMultiPrimary().
    		RequireMinVersion(17).
    		Setup(common.InstallMCSCRDs).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/net/http/main_test.go

    package http_test
    
    import (
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"os"
    	"runtime"
    	"slices"
    	"strings"
    	"testing"
    	"time"
    )
    
    var quietLog = log.New(io.Discard, "", 0)
    
    func TestMain(m *testing.M) {
    	*http.MaxWriteWaitBeforeConnReuse = 60 * time.Minute
    	v := m.Run()
    	if v == 0 && goroutineLeaked() {
    		os.Exit(1)
    	}
    	os.Exit(v)
    }
    
    func interestingGoroutines() (gs []string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. tests/integration/telemetry/tracing/otelcollector/tracing_test.go

    									}
    									return nil
    								}, retry.Delay(3*time.Second), retry.Timeout(80*time.Second))
    							})
    						}
    					})
    			}
    		})
    }
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(tracing.GetIstioInstance(), setupConfig)).
    		Setup(tracing.TestSetup).
    		Setup(testSetup).
    		Run()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:30 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/testing/testing.go

    //
    // When TestMain is called, flag.Parse has not been run. If TestMain depends on
    // command-line flags, including those of the testing package, it should call
    // flag.Parse explicitly. Command line flags are always parsed by the time test
    // or benchmark functions run.
    //
    // A simple implementation of TestMain is:
    //
    //	func TestMain(m *testing.M) {
    //		// call flag.Parse() here if TestMain uses flags
    //		os.Exit(m.Run())
    //	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. tests/integration/telemetry/api/setup_test.go

    const (
    	DefaultBucketCount = 20
    )
    
    var (
    	apps cdeployment.SingleNamespaceView
    
    	mockProm echo.Instances
    	ist      istio.Instance
    	promInst prometheus.Instance
    	ingr     []ingress.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    		// TODO: Remove this restriction once we validate our prometheus helm chart version is high enough
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. tests/integration/pilot/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: Wed May 01 15:22:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top