Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 105 for FATAL (0.04 sec)

  1. pkg/volume/csi/csi_attacher_test.go

    					t.Fatalf("failed to attach: %v", err)
    				}
    			}
    
    			// retrieve attached status
    			stats, err := csiAttacher.VolumesAreAttached(specs, types.NodeName(nodeName))
    			if err != nil {
    				t.Fatal(err)
    			}
    			if len(tc.attachedSpecs) != len(stats) {
    				t.Errorf("expecting %d attachment status, got %d", len(tc.attachedSpecs), len(stats))
    			}
    
    			// compare attachment status for each spec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  2. src/math/rand/v2/chacha8_test.go

    	}
    
    	var n int
    	for n < chacha8outlen {
    		if IntN(2) == 0 {
    			out, err := p.MarshalBinary()
    			if err != nil {
    				t.Fatal(err)
    			}
    			if IntN(2) == 0 {
    				p = NewChaCha8([32]byte{})
    			}
    			if err := p.UnmarshalBinary(out); err != nil {
    				t.Fatal(err)
    			}
    		}
    		buf := make([]byte, IntN(100))
    		if n+len(buf) > chacha8outlen {
    			buf = buf[:chacha8outlen-n]
    		}
    		n += len(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 55K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// Insert objects to be listed and benchmarked later.
    	for i := 0; i < 20000; i++ {
    		key := "obj" + strconv.Itoa(i)
    		_, err = obj.PutObject(context.Background(), bucket, key, mustGetPutObjReader(b, bytes.NewBufferString(key), int64(len(key)), "", ""), ObjectOptions{})
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    
    	b.ResetTimer()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  4. pilot/pkg/model/push_context_test.go

    		t.Fatal(err)
    	}
    
    	// Create a new one, copying from the old one
    	// Pass a ConfigsUpdated otherwise we would just copy it directly
    	newPush := NewPushContext()
    	if err := newPush.InitContext(env, old, &PushRequest{
    		ConfigsUpdated: sets.Set[ConfigKey]{
    			{Kind: kind.Secret}: {},
    		},
    	}); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	w, err := store.Watch(canceledCtx, "/pods/not-existing", storage.ListOptions{
    		ResourceVersion: "0",
    		Predicate:       storage.Everything,
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	select {
    	case _, ok := <-w.ResultChan():
    		if ok {
    			t.Error("ResultChan() should be closed")
    		}
    	case <-time.After(wait.ForeverTestTimeout):
    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. plugin/pkg/admission/limitranger/admission_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    				environment.VersionedOptions{
    					IntroducedVersion: version.MajorMinor(1, 999),
    					EnvOptions:        []celgo.EnvOption{celgo.Lib(&fakeLib{})},
    				})
    			if err != nil {
    				t.Fatal(err)
    			}
    			loader := NewExpressionsEnvLoader()
    			if tt.unmodified {
    				loader = StoredExpressionsEnvLoader()
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_tls_test.go

    					if err := opts.mutable.cluster.TransportSocket.GetTypedConfig().UnmarshalTo(ctx); err != nil {
    						t.Fatal(err)
    					}
    				} else if test.expectTransportSocketMatch {
    					if err := opts.mutable.cluster.TransportSocketMatches[0].TransportSocket.GetTypedConfig().UnmarshalTo(ctx); err != nil {
    						t.Fatal(err)
    					}
    				}
    				test.validateTLSContext(t, ctx)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    			p := pl.(*PodTopologySpread)
    			cs := framework.NewCycleState()
    			if s := p.PreScore(ctx, cs, tt.pod, tf.BuildNodeInfos(tt.nodes)); !s.IsSuccess() {
    				t.Fatal(s.AsError())
    			}
    
    			got, err := getPreScoreState(cs)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if diff := cmp.Diff(tt.want, got, cmpOpts...); diff != "" {
    				t.Errorf("PodTopologySpread#PreScore() returned (-want, +got):\n%s", diff)
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  10. src/encoding/xml/marshal_test.go

    		XMLName: Name{Local: "c"},
    		Value:   "x",
    	})
    
    	b, err := Marshal(a)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if x := string(b); x != "<a><c><value>x</value></c></a>" {
    		t.Fatal(x)
    	}
    	var v A
    	err = Unmarshal(b, &v)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    var encodeTokenTests = []struct {
    	desc string
    	toks []Token
    	want string
    	err  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
Back to top