Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 105 for FATAL (0.05 sec)

  1. pkg/controller/disruption/disruption_test.go

    		})
    		return handled, obj, err
    	})
    
    	// (A) Delete one pod
    	if err := dc.coreClient.CoreV1().Pods("default").Delete(ctx, podNames[0], metav1.DeleteOptions{}); err != nil {
    		t.Fatal(err)
    	}
    	if err := waitForCacheCount(dc.podStore, len(podNames)-1); err != nil {
    		t.Fatalf("Failed to verify pods in informer cache: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    }
    
    func newClientset(t *testing.T, objects ...runtime.Object) clientset.Interface {
    	clientset := fake.NewSimpleClientset(objects...)
    	if clientset == nil {
    		t.Fatal("unable to create fake client set")
    	}
    	return clientset
    }
    
    // builds a chain of handlers that include the panic recovery and timeout filter, so we can simulate the behavior of
    // a real apiserver.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/lib.go

    	// ELF/Mach-O/etc. relocations, not Go relocations, this must match ELF.Reloc1,
    	// etc.), and a boolean indicating success/failure (a failing value indicates
    	// a fatal error).
    	Archreloc func(*Target, *loader.Loader, *ArchSyms, loader.Reloc, loader.Sym,
    		int64) (relocatedOffset int64, nExtReloc int, ok bool)
    	// Archrelocvariant is a second arch-specific hook used for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  4. src/math/big/int_test.go

    	var prev *Int
    	for i, s := range cmpAbsTests {
    		x, ok := new(Int).SetString(s, 0)
    		if !ok {
    			t.Fatalf("SetString(%s, 0) failed", s)
    		}
    		if prev != nil && prev.Cmp(x) >= 0 {
    			t.Fatal("cmpAbsTests entries not sorted in ascending order")
    		}
    		values[i] = x
    		prev = x
    	}
    
    	for i, x := range values {
    		for j, y := range values {
    			// try all combinations of signs for x, y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/loader/loader.go

    // but the version of the runtime used for linkage won't actually contain
    // definitions of that symbol. See issue #42396 for details.
    //
    // As currently implemented, this is a fatal error. This has drawbacks
    // in that if there are multiple missing builtins, the error will only
    // cite the first one. On the plus side, terminating the link here has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    					Flatten()
    			},
    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			var got *rest.Request
    			b := tc.f(t, &got)
    			i, err := b.Do().Infos()
    			if err != nil {
    				t.Fatal(err)
    			}
    			req := i[0].Client.Get()
    			if got != req {
    				t.Fatalf("request was not received by modifier: %#v", req)
    			}
    		})
    	}
    }
    
    func TestResourceNames(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    		return
    	}
    	timeLogMu.Lock()
    	defer timeLogMu.Unlock()
    	if timeLogFile == nil {
    		f, err := os.OpenFile(os.Getenv("GOBUILDTIMELOGFILE"), os.O_RDWR|os.O_APPEND, 0666)
    		if err != nil {
    			log.Fatal(err)
    		}
    		buf := make([]byte, 100)
    		n, _ := f.Read(buf)
    		s := string(buf[:n])
    		if i := strings.Index(s, "\n"); i >= 0 {
    			s = s[:i]
    		}
    		i := strings.Index(s, " start")
    		if i < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/fmt/fmt_test.go

    		s := Sprintf(tt.fmt, tt.in)
    		if s != tt.out {
    			t.Errorf("%d: %q: got %q expected %q", i, tt.fmt, s, tt.out)
    		}
    	}
    }
    
    // recurCount tests that erroneous String routine doesn't cause fatal recursion.
    var recurCount = 0
    
    type Recur struct {
    	i      int
    	failed *bool
    }
    
    func (r *Recur) String() string {
    	if recurCount++; recurCount > 10 {
    		*r.failed = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	// Act
    	podToDelete := ""
    	if nodesForVolume[0] == nodeName1 {
    		podToDelete = podName1
    	} else if nodesForVolume[0] == nodeName2 {
    		podToDelete = podName2
    	} else {
    		t.Fatal("Volume attached to unexpected node")
    	}
    
    	dsw.DeletePod(types.UniquePodName(podToDelete), generatedVolumeName, nodesForVolume[0])
    	volumeExists := dsw.VolumeExists(generatedVolumeName, nodesForVolume[0])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/buildlist.go

    				if v, ok := rs.rootSelected(m.Path); !ok || v != m.Version {
    					base.Errorf("go: vendored module %v should be required explicitly in go.mod", m)
    					inconsistent = true
    				}
    			}
    			if inconsistent {
    				base.Fatal(errGoModDirty)
    			}
    
    			// Now we can treat the rest of the module graph as effectively “pruned
    			// out”, as though we are viewing the main module from outside: in vendor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top