Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,736 for Dests (0.16 sec)

  1. pkg/proxy/ipvs/util/testing/fake.go

    		return fmt.Errorf("failed to add destination for service %v, service not found", key.String())
    	}
    	dests := f.Destinations[key]
    	if dests == nil {
    		dests = make([]*utilipvs.RealServer, 0)
    		f.Destinations[key] = dests
    	}
    	f.Destinations[key] = append(f.Destinations[key], dest)
    	// The tests assumes that the slice is sorted
    	sort.Sort(byAddress(f.Destinations[key]))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. tests/integration/pilot/common/routing.go

    `,
    			checkForN: func(src echo.Caller, dests echo.Services, opts *echo.CallOptions) echo.Checker {
    				return check.And(
    					check.OK(),
    					func(result echo.CallResult, err error) error {
    						errorThreshold := 10
    						if len(split) != len(dests) {
    							// shouldn't happen
    							return fmt.Errorf("split configured for %d destinations, but framework gives %d", len(split), len(dests))
    						}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  3. pilot/test/xdstest/extract.go

    	res := map[string][]string{}
    	for _, vh := range rc.GetVirtualHosts() {
    		var dests []string
    		for _, r := range vh.Routes {
    			if dc := r.GetRoute().GetCluster(); dc != "" {
    				dests = append(dests, dc)
    			}
    		}
    		sort.Strings(dests)
    		for _, d := range vh.Domains {
    			res[d] = dests
    		}
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/util/testing/fake_test.go

    			t.Errorf("Fail to delete real server of the virtual server, error: %v", err)
    		} else {
    			dests, err := fake.GetRealServers(vs)
    			if err != nil {
    				t.Errorf("Fail to get real servers of the virtual server, error: %v", err)
    			}
    			for _, dest := range dests {
    				if toRealServerKey(dest).String() == toRealServerKey(rsToDel).String() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. .github/workflows/tests.yml

        - name: go mod package cache
          uses: actions/cache@v4
          with:
            path: ~/go/pkg/mod
            key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=sqlite ./tests/tests_all.sh
    
      mysql:
        strategy:
          matrix:
            dbversion: ['mysql/mysql-server:latest', 'mysql:5.7']
            go: ['1.22', '1.21', '1.20']
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tests/integration/tests.mk

    # In presubmit, this target runs a minimal set. In postsubmit, all tests are run
    .PHONY: test.integration.kube.environment
    test.integration.kube.environment: | $(JUNIT_REPORT) check-go-tag
    ifeq (${JOB_TYPE},postsubmit)
    	$(call run-test,./tests/integration/...)
    else
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    package tests
    
    import (
    	_ "embed"
    	"fmt"
    	"go/ast"
    	"go/token"
    	"go/types"
    	"regexp"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    )
    
    //go:embed doc.go
    var doc string
    
    var Analyzer = &analysis.Analyzer{
    	Name: "tests",
    	Doc:  analysisutil.MustExtractDoc(doc, "tests"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. cluster/gce/windows/k8s-node-setup.psm1

      Configure-WindowsDefender
    }
    
    # Creates directories where other functions in this module will read and write
    # data.
    # Note: C:\tmp is required for running certain kubernetes tests.
    #       C:\var\log is used by kubelet to stored container logs and also
    #       hard-coded in the fluentd/stackdriver config for log collection.
    function Create-Directories {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/async-tests.md

    # Asynchrone Tests
    
    Sie haben bereits gesehen, wie Sie Ihre **FastAPI**-Anwendungen mit dem bereitgestellten `TestClient` testen. Bisher haben Sie nur gesehen, wie man synchrone Tests schreibt, ohne `async`hrone Funktionen zu verwenden.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:25:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/async-tests.md

    # Async Tests
    
    You have already seen how to test your **FastAPI** applications using the provided `TestClient`. Up to now, you have only seen how to write synchronous tests, without using `async` functions.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 12:07:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top