Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 134 for BOGUS (0.14 sec)

  1. pkg/config/analysis/README.md

      - httpbin-gateway # Expected: no validation error since this gateway exists
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: httpbin-bogus
    spec:
      hosts:
      - "*"
      gateways:
      - httpbin-gateway-bogus # Expected: validation error since this gateway does not exist
    ```
    
    You should include both positive and negative test cases in the input YAML: we want to verify both that bad entries
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. pkg/registry/registrytest/etcd.go

    	etcd3testing "k8s.io/apiserver/pkg/storage/etcd3/testing"
    	"k8s.io/apiserver/pkg/storage/storagebackend"
    	"k8s.io/kubernetes/pkg/kubeapiserver"
    )
    
    // NewEtcdStorage is for testing.  It configures the etcd storage for a bogus resource; the test must not care.
    func NewEtcdStorage(t *testing.T, group string) (*storagebackend.ConfigForResource, *etcd3testing.EtcdTestServer) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 16 03:10:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_goroot_errors.txt

    ! stderr 'missing dot'
    stderr '^importnonexist[/\\]x.go:2:8: package nonexist is not in std \('$GOROOT'[/\\]src[/\\]nonexist\)$'
    
    # Building an *actual* std package should fail if GOROOT is set to something bogus.
    
    [!short] go build ./importjson  # Prove that it works when GOROOT is valid.
    
    env GOROOT=$WORK/not-a-valid-goroot
    ! go build ./importjson
    ! stderr 'import lookup disabled'
    ! stderr 'missing dot'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. pkg/version/cobra_test.go

    				"  },\n" +
    				printMeshVersion(&meshInfoMultiVersion, jsonOutputMock)),
    		},
    
    		{ // case 8 bogus arg
    			args:           strings.Split("version --typo", " "),
    			expectedRegexp: regexp.MustCompile("Error: unknown flag: --typo\n"),
    			expectFail:     true,
    		},
    
    		{ // case 9 bogus output arg
    			args:           strings.Split("version --output xyz", " "),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/load/load_test.go

    			t.Fatalf("unexpected config:\n%s", cmp.Diff(expect, config))
    		}
    	}
    
    	// missing file
    	{
    		_, err := LoadFromFile(`bogus-missing-file`)
    		if err == nil {
    			t.Fatalf("expected err, got none")
    		}
    		if !strings.Contains(err.Error(), "bogus-missing-file") {
    			t.Fatalf("expected missing file error, got %v", err)
    		}
    	}
    
    	// invalid content file
    	{
    		input := `{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 07:00:31 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java

                    .compare(Boolean.TRUE, true)
                    .compare(Boolean.TRUE, Boolean.TRUE)
                    .result())
            .isEqualTo(0);
      }
    
      public void testDegenerate() {
        // kinda bogus, but who cares?
        assertThat(ComparisonChain.start().result()).isEqualTo(0);
      }
    
      public void testOneEqual() {
        assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/sidecar-selector.yaml

      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: maps-to-nonexistent
      namespace: default
    spec:
      workloadSelector:
        labels:
          app: bogus # This doesn't exist, and should generate an error
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: maps-to-different-ns
      namespace: other
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. src/net/http/responsewrite_test.go

    				Body:          io.NopCloser(strings.NewReader("abcdef")),
    			},
    			"HTTP/1.1 200 OK\r\nConnection: close\r\n\r\nabcdef",
    		},
    
    		// Status code under 100 should be zero-padded to
    		// three digits.  Still bogus, but less bogus. (be
    		// consistent with generating three digits, since the
    		// Transport requires it)
    		{
    			Response{
    				StatusCode: 7,
    				Status:     "license to violate specs",
    				ProtoMajor: 1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/telemetry-selector.yaml

              disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
      name: maps-to-nonexistent
      namespace: default
    spec:
      selector:
        matchLabels:
          app: bogus # This doesn't exist, and should generate an error
      metrics:
        - providers:
            - name: prometheus
          overrides:
            - match:
                metric: ALL_METRICS
              disabled: false
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/net/netip/uint128_test.go

    		{uint128{1, 1}, sub1, uint128{1, 0}},
    	}
    	for _, tt := range tests {
    		var got uint128
    		switch tt.op {
    		case add1:
    			got = tt.in.addOne()
    		case sub1:
    			got = tt.in.subOne()
    		default:
    			panic("bogus op")
    		}
    		if got != tt.want {
    			t.Errorf("%v add %d = %v; want %v", tt.in, tt.op, got, tt.want)
    		}
    	}
    }
    
    func TestBitsSetFrom(t *testing.T) {
    	tests := []struct {
    		bit  uint8
    		want uint128
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 01:28:01 UTC 2021
    - 2.1K bytes
    - Viewed (0)
Back to top