Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for svctest (0.1 sec)

  1. 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)
  2. pilot/pkg/networking/core/httproute.go

    				for svcHost := range servicesByName {
    					if host.Name(h).Matches(svcHost) {
    						match = true
    						break
    					}
    				}
    			} else {
    				// If non wildcard vs host isn't be found in service map, only loop through
    				// wildcard service hosts to avoid repeated matching.
    				for _, svcHost := range wcSvcHosts {
    					if host.Name(h).Matches(svcHost) {
    						match = true
    						break
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/testing/slogtest/slogtest.go

    package slogtest
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"log/slog"
    	"reflect"
    	"runtime"
    	"testing"
    	"time"
    )
    
    type testCase struct {
    	// Subtest name.
    	name string
    	// If non-empty, explanation explains the violated constraint.
    	explanation string
    	// f executes a single log event using its argument logger.
    	// So that mkdescs.sh can generate the right description,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/util/util_test.go

    	fsVolumeMode               = new(v1.PersistentVolumeMode)
    )
    
    type vaTest struct {
    	desc                 string
    	createNodeName       kubetypes.NodeName
    	pod                  *v1.Pod
    	wantVolume           *v1.Volume
    	wantPersistentVolume *v1.PersistentVolume
    	wantErrorMessage     string
    }
    
    func Test_CreateVolumeSpec(t *testing.T) {
    	for _, test := range []vaTest{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_all.txt

    module example.com/r
    
    go 1.15
    -- r/r.go --
    package r
    -- r/r_test.go --
    package r_test
    -- s/go.mod --
    module example.com/s
    
    go 1.15
    -- s/s.go --
    package s
    -- s/s_test.go --
    package s_test
    -- t/go.mod --
    module example.com/t
    
    go 1.15
    
    require (
    	example.com/u v0.1.0
    	example.com/w v0.1.0
    )
    -- t/t.go --
    package t
    
    import _ "example.com/u"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 18:41:57 UTC 2021
    - 13.1K bytes
    - Viewed (0)
Back to top