Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for TestID (0.3 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AbstractCrossBuildPerformanceTestRunner.groovy

            PerformanceTestJvmOptions.normalizeJvmOptions(jvmOptions)
        }
    
        abstract R newResult()
    
        R run() {
            assert !specs.empty
            assert testId
    
            Assume.assumeTrue(TestScenarioSelector.shouldRun(testId))
            TestProjects.validateTestProject(testProject)
    
            def results = newResult()
    
            try {
                runAllSpecifications(results)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pkg/test/framework/suite_test.go

    func settingsFn(s *resource.Settings) func(string) (*resource.Settings, error) {
    	return func(testID string) (*resource.Settings, error) {
    		s.TestID = testID
    		s.BaseDir = os.TempDir()
    		return s, nil
    	}
    }
    
    func defaultSettingsFn(testID string) (*resource.Settings, error) {
    	s := resource.DefaultSettings()
    	s.TestID = testID
    	s.BaseDir = os.TempDir()
    
    	return s, nil
    }
    
    func cleanupRT() {
    	rtMu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. pkg/test/framework/resource/settings.go

    	return &Settings{
    		RunID:    uuid.New(),
    		MaxDumps: 10,
    	}
    }
    
    // String implements fmt.Stringer
    func (s *Settings) String() string {
    	result := ""
    
    	result += fmt.Sprintf("TestID:            						 %s\n", s.TestID)
    	result += fmt.Sprintf("RunID:             						 %s\n", s.RunID.String())
    	result += fmt.Sprintf("NoCleanup:         						 %v\n", s.NoCleanup)
    	result += fmt.Sprintf("BaseDir:           						 %s\n", s.BaseDir)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/cleanup.go

    	// Write time spent for cleanup and deploy to ARTIFACTS/trace.yaml and logs to allow analyzing test times
    	defer func() {
    		delta := time.Since(t0)
    		i.ctx.RecordTraceEvent("istio-cleanup", delta.Seconds())
    		scopes.Framework.Infof("=== SUCCEEDED: Cleanup Istio in %v [Suite=%s] ===", delta, i.ctx.Settings().TestID)
    	}()
    
    	if i.cfg.DumpKubernetesManifests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. pkg/test/framework/resource/flags.go

    // calling this function.
    func SettingsFromCommandLine(testID string) (*Settings, error) {
    	if !config.Parsed() {
    		panic("config.Parse must be called before this function")
    	}
    
    	s := settingsFromCommandLine.Clone()
    	s.TestID = testID
    
    	f, err := label.ParseSelector(s.SelectorString)
    	if err != nil {
    		return nil, err
    	}
    	s.Selector = f
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. pkg/test/framework/suitecontext.go

    	traceContext context.Context
    	traces       sync.Map
    }
    
    func newSuiteContext(s *resource.Settings, envFn resource.EnvironmentFactory, labels label.Set) (*suiteContext, error) {
    	scopeID := fmt.Sprintf("[suite(%s)]", s.TestID)
    
    	workDir := path.Join(s.RunDir(), "_suite_context")
    	if err := os.MkdirAll(workDir, os.ModePerm); err != nil {
    		return nil, err
    	}
    	c := &suiteContext{
    		settings:     s,
    		globalScope:  newScope(scopeID, nil),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. pkg/test/framework/test.go

    				t.goTest.Name(), t.ctx.Settings().Revisions.Minimum(), t.minIstioVersion)
    		}
    	}
    
    	start := time.Now()
    	scopes.Framework.Infof("=== BEGIN: Test: '%s[%s]' ===", rt.suiteContext().Settings().TestID, t.goTest.Name())
    
    	// Initial setup if we're running in Parallel.
    	if parallel {
    		// Run the underlying Go test in parallel. This will not return until the parent
    		// test (if there is one) exits.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/test/test.go

    	testID := h.Sum()
    	if c.id1 == (cache.ActionID{}) {
    		c.id1 = testID
    	} else {
    		c.id2 = testID
    	}
    	if cache.DebugTest {
    		fmt.Fprintf(os.Stderr, "testcache: %s: test ID %x => %x\n", a.Package.ImportPath, id, testID)
    	}
    
    	// Load list of referenced environment variables and files
    	// from last run of testID, and compute hash of that content.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top