Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 70 for TestID (0.24 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/OutputDirSelector.java

     * limitations under the License.
     */
    
    package org.gradle.performance.results;
    
    import java.io.File;
    
    public interface OutputDirSelector {
    
        File outputDirFor(String testId);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 758 bytes
    - Viewed (0)
  2. pkg/test/framework/components/istio/istio.go

    		ins, err := newKube(ctx, cfg)
    		if err != nil {
    			scopes.Framework.Infof("=== FAILED: Deploy Istio in %v [Suite=%s] ===", time.Since(t0), ctx.Settings().TestID)
    			return err
    		}
    
    		if i != nil {
    			*i = ins
    		}
    		scopes.Framework.Infof("=== SUCCEEDED: Deploy Istio in %v [Suite=%s]===", time.Since(t0), ctx.Settings().TestID)
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 30 17:47:34 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. 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)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/AbstractPerformanceTest.groovy

                    if (AbstractBuildExperimentRunner.isProfilingActive()) {
                        def stacks = differentialStacksGenerator.generateDifferentialStacks(outputDirSelector.outputDirFor(results.testId))
                        flameGraphGenerator.generateDifferentialGraphs(stacks)
                    }
                }
    
                @Override
                void close() throws IOException {
                }
            })
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K 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)
  9. cmd/metacache-entries_test.go

    			wantSelected: &inputSerialized[9],
    			wantOk:       true,
    		},
    	}
    
    	for testID, tt := range tests {
    		rng := rand.New(rand.NewSource(0))
    		// Run for a number of times, shuffling the input to ensure that output is consistent.
    		for i := 0; i < 10; i++ {
    			t.Run(fmt.Sprintf("test-%d-%s-run-%d", testID, tt.name, i), func(t *testing.T) {
    				if i > 0 {
    					rng.Shuffle(len(tt.m), func(i, j int) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/users/users_linux_test.go

    					t.Fatalf("expected group at position %d: %+v, got: %+v", i, tc.expectedGroups[i], tc.groupsToCreate[i])
    				}
    			}
    		})
    	}
    }
    
    func TestID(t *testing.T) {
    	e := &entry{name: "foo", id: 101}
    	m := &EntryMap{entries: map[string]*entry{
    		"foo": e,
    	}}
    	id := m.ID("foo")
    	if *id != 101 {
    		t.Fatalf("expected: id=%d; got: id=%d", 101, *id)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 16.3K bytes
    - Viewed (0)
Back to top