Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 207 for testLang (0.18 sec)

  1. cmd/object-api-multipart_test.go

    		// Test cases with prefixes.
    		// Testing listing with prefix set to "min" (Test number 40)	.
    		{bucketNames[2], "min", "", "", "", 100, listMultipartResults[26], nil, true},
    		// Testing listing with prefix set to "ney" (Test number 41).
    		{bucketNames[2], "ney", "", "", "", 100, listMultipartResults[27], nil, true},
    		// Testing listing with prefix set to "par" (Test number 42).
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    	plfeature "k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature"
    	plugintesting "k8s.io/kubernetes/pkg/scheduler/framework/plugins/testing"
    	"k8s.io/kubernetes/pkg/scheduler/framework/runtime"
    	"k8s.io/kubernetes/pkg/scheduler/internal/cache"
    	st "k8s.io/kubernetes/pkg/scheduler/testing"
    	tf "k8s.io/kubernetes/pkg/scheduler/testing/framework"
    )
    
    var (
    	extendedResourceA     = v1.ResourceName("example.com/aaa")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. src/go/types/api_test.go

    	"reflect"
    	"regexp"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    
    	. "go/types"
    )
    
    // nopos indicates an unknown position
    var nopos token.Pos
    
    func mustParse(fset *token.FileSet, src string) *ast.File {
    	f, err := parser.ParseFile(fset, pkgName(src), src, parser.ParseComments)
    	if err != nil {
    		panic(err) // so we don't need to pass *testing.T
    	}
    	return f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	}
    	sort.Strings(got)
    
    	assert.Equal(t, want, got)
    }
    
    func TestExternalNameServiceInstances(t *testing.T) {
    	t.Run("alias", func(t *testing.T) {
    		test.SetForTest(t, &features.EnableExternalNameAlias, true)
    		controller, fx := NewFakeControllerWithOptions(t, FakeControllerOptions{})
    		createExternalNameService(controller, "svc5", "nsA",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    // RunTestWatchFromZero tests that
    //   - watch from 0 should sync up and grab the object added before
    //   - For testing with etcd, watch from 0 is able to return events for objects
    //     whose previous version has been compacted. If testing with cacher, we
    //     expect compaction to be nil.
    func RunTestWatchFromZero(ctx context.Context, t *testing.T, store storage.Interface, compaction Compaction) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_test.go

    	"reflect"
    	"regexp"
    	"sort"
    	"strings"
    	"sync"
    	"testing"
    
    	. "cmd/compile/internal/types2"
    )
    
    // nopos indicates an unknown position
    var nopos syntax.Pos
    
    func mustParse(src string) *syntax.File {
    	f, err := syntax.Parse(syntax.NewFileBase(pkgName(src)), strings.NewReader(src), nil, nil, 0)
    	if err != nil {
    		panic(err) // so we don't need to pass *testing.T
    	}
    	return f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    	"encoding/xml"
    	"fmt"
    	"net/http"
    	"net/http/httptest"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/bucket/object/lock"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func TestParseAndValidateLifecycleConfig(t *testing.T) {
    	testCases := []struct {
    		inputConfig           string
    		expectedParsingErr    error
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. tests/integration/security/authz_test.go

    	firstTest := tsts[0]
    	if len(tsts) == 1 {
    		// Testing a single port. Just run a single test.
    		testName := fmt.Sprintf("%s%s(%s)/%s", firstTest.prefix, firstTest.opts.HTTP.Path, firstTest.allow, firstTest.opts.Port.Name)
    		t.NewSubTest(testName).Run(func(t framework.TestContext) {
    			firstTest.BuildAndRun(t)
    		})
    		return
    	}
    
    	tsts.checkValid()
    
    	// Testing multiple ports...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/manager_test.go

    	return
    }
    
    func TestNewManagerImpl(t *testing.T) {
    	socketDir, socketName, _, err := tmpSocketDir()
    	topologyStore := topologymanager.NewFakeManager()
    	require.NoError(t, err)
    	defer os.RemoveAll(socketDir)
    	_, err = newManagerImpl(socketName, nil, topologyStore)
    	require.NoError(t, err)
    	os.RemoveAll(socketDir)
    }
    
    func TestNewManagerImplStart(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  10. pilot/pkg/model/sidecar_test.go

    		})
    	}
    }
    
    func BenchmarkConvertIstioListenerToWrapper(b *testing.B) {
    	b.Run("small-exact", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 10, 3, "", false)
    	})
    	b.Run("small-wildcard", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 10, 3, "*.", false)
    	})
    	b.Run("small-match-all", func(b *testing.B) {
    		benchmarkConvertIstioListenerToWrapper(b, 10, 3, "", true)
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top