Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 107 for expectedly (1.75 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go

    			if err != nil {
    				t.Fatal(err)
    			} else if !found {
    				t.Fatalf("expected .defaults to exist")
    			}
    			expectedLen := 1
    			if !createVersion.Storage {
    				expectedLen++
    			}
    			if len(defaults) != expectedLen {
    				t.Fatalf("after %s create expected .defaults to have %d values, but got: %v", createVersion.Name, expectedLen, defaults)
    			}
    			if _, found := defaults[createVersion.Name].(bool); !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 47.1K bytes
    - Viewed (0)
  2. src/runtime/crash_unix_test.go

    	if err == nil {
    		t.Error("test program succeeded unexpectedly")
    	} else if ee, ok := err.(*exec.ExitError); !ok {
    		t.Errorf("error (%v) has type %T; expected exec.ExitError", err, err)
    	} else if ws, ok := ee.Sys().(syscall.WaitStatus); !ok {
    		t.Errorf("error.Sys (%v) has type %T; expected syscall.WaitStatus", ee.Sys(), ee.Sys())
    	} else if !ws.Signaled() || ws.Signal() != syscall.SIGTERM {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    }
    
    // assertWaypointAddressForPod takes a pod name for key and the expected waypoint IP Address
    // if the IP is empty we assume you're asserting that the pod's waypoint address is nil
    // will assert that the GW address for the pod's waypoint is the expected address
    // nolint: unparam
    func (s *ambientTestServer) assertWaypointAddressForPod(t *testing.T, key, expectedIP string) {
    	t.Helper()
    	var expectedAddress *workloadapi.GatewayAddress
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  4. src/crypto/x509/x509_test.go

    		if !extension.Id.Equal(expected[i].Id) {
    			t.Fatalf("extension #%d has unexpected type %v (expected %v)", i, extension.Id, expected[i].Id)
    		}
    
    		if !bytes.Equal(extension.Value, expected[i].Value) {
    			t.Fatalf("extension #%d has unexpected contents %x (expected %x)", i, extension.Value, expected[i].Value)
    		}
    	}
    }
    
    // serialiseAndParse generates a self-signed certificate from template and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  5. src/net/http/responsecontroller_test.go

    	go func() {
    		defer wg.Done()
    		defer pw.Close()
    		pw.Write([]byte("one"))
    		select {
    		case <-readc:
    		case <-donec:
    			select {
    			case <-readc:
    			default:
    				t.Errorf("server handler unexpectedly exited without closing readc")
    				return
    			}
    		}
    		pw.Write([]byte("two"))
    	}()
    	defer wg.Wait()
    	res, err := cst.c.Post(cst.ts.URL, "text/foo", pr)
    	if err == nil {
    		defer res.Body.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    	}
    	// Verify that after syncing a complete job, the conditions are the same.
    	if got, expected := len(actual.Status.Conditions), 1; got != expected {
    		t.Fatalf("Unexpected job status conditions amount; expected %d, got %d", expected, got)
    	}
    }
    
    func TestSyncJobDeleted(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  7. pilot/pkg/model/sidecar_test.go

    			got := ilw.selectServices(tt.services, tt.namespace, tt.listenerHosts)
    			if !reflect.DeepEqual(got, tt.expected) {
    				gots, _ := json.MarshalIndent(got, "", "  ")
    				expecteds, _ := json.MarshalIndent(tt.expected, "", "  ")
    				t.Errorf("Got %v, expected %v", string(gots), string(expecteds))
    			}
    		})
    	}
    }
    
    func TestContainsEgressDependencies(t *testing.T) {
    	const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java

     * <li>The daemon closes the connection once it has received the {@link Finished} message.</li>
     * </ul>
     *
     * <p>
     * If the daemon returns a {@code null} message before returning a {@link Result} object, it has terminated unexpectedly for some reason.
     */
    public class DaemonClient implements BuildActionExecutor<BuildActionParameters, ClientBuildRequestContext> {
        private static final Logger LOGGER = Logging.getLogger(DaemonClient.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

                                  << output_ty_size << " and " << input_ty_size;
      }
    
      if (!TF::AreCastCompatible({output_ty, expected_ty}))
        return op.emitOpError()
               << "requires 'output' type " << output_ty
               << " to be cast compatible with expected type " << expected_ty;
    
      return success();
    }
    
    LogicalResult ReshapeOp::inferReturnTypes(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  10. pkg/util/iptables/testing/parse_test.go

    				if tc.error != "" {
    					t.Errorf("unexpectedly did not get error")
    				} else if !reflect.DeepEqual(tc.output, dump) {
    					t.Errorf("bad output: expected %#v got %#v", tc.output, dump)
    				}
    			} else {
    				if tc.error == "" {
    					t.Errorf("got unexpected error: %v", err)
    				} else if !strings.Contains(err.Error(), tc.error) {
    					t.Errorf("got wrong error: %v (expected %q)", err, tc.error)
    				}
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top