Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for svctest (0.15 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.gradle.util.Matchers
    import org.gradle.util.SetSystemProperties
    import org.junit.Rule
    import spock.lang.Specification
    
    class JvmTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        @Rule
        SetSystemProperties sysProp = new SetSystemProperties()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. src/testing/testing_test.go

    			}
    		}) {
    			t.Fatal("Sub test failure in a benchmark")
    		}
    	})
    }
    
    func TestTempDir(t *testing.T) {
    	testTempDir(t)
    	t.Run("InSubtest", testTempDir)
    	t.Run("test/subtest", testTempDir)
    	t.Run("test\\subtest", testTempDir)
    	t.Run("test:subtest", testTempDir)
    	t.Run("test/..", testTempDir)
    	t.Run("../test", testTempDir)
    	t.Run("test[]", testTempDir)
    	t.Run("test*", testTempDir)
    	t.Run("äöüéè", testTempDir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    // TestCreatePodSandbox_RuntimeClass tests creating sandbox with RuntimeClasses enabled.
    func TestCreatePodSandbox_RuntimeClass(t *testing.T) {
    	ctx := context.Background()
    	rcm := runtimeclass.NewManager(rctest.NewPopulatedClient())
    	defer rctest.StartManagerSync(rcm)()
    
    	fakeRuntime, _, m, err := createTestRuntimeManager()
    	require.NoError(t, err)
    	m.runtimeClassManager = rcm
    
    	tests := map[string]struct {
    		rcn             *string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster.go

    		} else {
    			if subset == "" {
    				sets.InsertOrNew(serviceClusters, string(svcHost), cluster)
    			} else {
    				sets.InsertOrNew(subsetClusters, string(svcHost), cluster)
    			}
    			if servicePortClusters[string(svcHost)] == nil {
    				servicePortClusters[string(svcHost)] = make(map[int]string)
    			}
    			servicePortClusters[string(svcHost)][port] = cluster
    		}
    	}
    
    	for key := range updates.ConfigsUpdated {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  5. src/cmd/go/script_test.go

    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/script"
    	"cmd/go/internal/script/scripttest"
    	"cmd/go/internal/vcweb/vcstest"
    
    	"golang.org/x/telemetry/counter/countertest"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. src/testing/fuzz.go

    			testName = fmt.Sprintf("%s/%s", testName, filepath.Base(e.Path))
    		}
    		if f.testContext.isFuzzing {
    			// Don't preserve subtest names while fuzzing. If fn calls T.Run,
    			// there will be a very large number of subtests with duplicate names,
    			// which will use a large amount of memory. The subtest names aren't
    			// useful since there's no way to re-run them deterministically.
    			f.testContext.match.clearSubNames()
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. pkg/test/framework/testcontext.go

    }
    
    func (c *testContext) NewSubTest(name string) Test {
    	if c.test == nil {
    		panic(fmt.Sprintf("Attempting to create subtest %s from a TestContext with no associated Test", name))
    	}
    
    	if c.test.goTest == nil || c.test.ctx == nil {
    		panic(fmt.Sprintf("Attempting to create subtest %s before running parent", name))
    	}
    
    	tc, span := tracing.Start(c.test.tc, name)
    
    	return &testImpl{
    		tc:     tc,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    				attachedVolumesNum, 1+extraPodsNum, detachedVolumesNum, nodesNum)
    		}
    	}
    
    	if testPlugin.GetErrorEncountered() {
    		t.Fatalf("Fatal error encountered in the testing volume plugin")
    	}
    
    }
    
    type vaTest struct {
    	testName               string
    	volName                string
    	podName                string
    	podNodeName            string
    	pvName                 string
    	vaName                 string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. pkg/test/framework/test.go

    	}
    
    	if t.s.skipped {
    		t.goTest.Skip("Skipped because parent Suite was skipped.")
    		return
    	}
    
    	if t.parent != nil {
    		// Create a new subtest under the parent's test.
    		parentGoTest := t.parent.goTest
    		parentCtx := t.parent.ctx
    		parentGoTest.Run(t.name, func(goTest *testing.T) {
    			t.goTest = goTest
    			t.doRun(parentCtx.newChildContext(t), fn, parallel)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcherTest.groovy

            ["FooTest.*slow*"]       | "FooTest"                 | "slowUiTest"          | true
            ["FooTest.*slow*"]       | "FooTest"                 | "veryslowtest"        | true
            ["FooTest.*slow*"]       | "FooTest.SubTest"         | "slow"                | false
            ["FooTest.*slow*"]       | "FooTest"                 | "a slow test"         | true
            ["FooTest.*slow*"]       | "FooTest"                 | "aslow"               | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top