Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 105 for FATAL (0.06 sec)

  1. tests/integration/security/authz_test.go

    										continue
    									}
    									for _, instance := range to.Instances() {
    										err := instance.UpdateWorkloadLabel(map[string]string{"foo": "bla"}, nil)
    										if err != nil {
    											t.Fatal(err)
    										}
    									}
    								}
    								newAuthzTest().
    									From(from).
    									To(to).
    									Allow(c.allow).
    									Path(c.path).
    									BuildForPorts(t, ports.HTTP, ports.HTTP2).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. pkg/kubelet/server/server_test.go

    		Timeout:  60 * time.Second,
    	}
    	conn, err := upgradeRoundTripper.NewConnection(resp)
    	if err != nil {
    		t.Fatalf("Unexpected error creating streaming connection: %s", err)
    	}
    	if conn == nil {
    		t.Fatal("Unexpected nil connection")
    	}
    
    	<-conn.CloseChan()
    }
    
    func testExecAttach(t *testing.T, verb string) {
    	tests := map[string]struct {
    		stdin              bool
    		stdout             bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    		runtime.WithInformerFactory(tc.informerFactory),
    	}
    	fh, err := runtime.NewFramework(tCtx, nil, nil, opts...)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	pl, err := New(tCtx, nil, fh, feature.Features{EnableDynamicResourceAllocation: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    	tc.p = pl.(*dynamicResources)
    
    	// The tests use the API to create the objects because then reactors
    	// get triggered.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    	t.Helper()
    	nodeInfo, err := snapshot.NodeInfos().Get(name)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return nodeInfo
    }
    
    func mustNewPodInfo(t *testing.T, pod *v1.Pod) *framework.PodInfo {
    	podInfo, err := framework.NewPodInfo(pod)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return podInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  5. src/html/template/escape_test.go

    }
    
    // This is a test for issue 3272.
    func TestEmptyTemplateHTML(t *testing.T) {
    	page := Must(New("page").ParseFiles(os.DevNull))
    	if err := page.ExecuteTemplate(os.Stdout, "page", "nothing"); err == nil {
    		t.Fatal("expected error")
    	}
    }
    
    type Issue7379 int
    
    func (Issue7379) SomeMethod(x int) string {
    	return fmt.Sprintf("<%d>", x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	if err := controller.client.Kube().CoreV1().Endpoints("nsA").Delete(context.TODO(), "svc", metav1.DeleteOptions{}); err != nil {
    		t.Fatal(err)
    	}
    	if err := controller.client.Kube().DiscoveryV1().EndpointSlices("nsA").Delete(context.TODO(), "svc", metav1.DeleteOptions{}); err != nil {
    		t.Fatal(err)
    	}
    	assertPendingResync(0)
    }
    
    func TestWorkloadInstanceHandlerMultipleEndpoints(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    		// Match names with even-numbered length
    		obj := a.GetObject()
    
    		accessor, err := meta.Accessor(obj)
    		if err != nil {
    			t.Fatal(err)
    			return false
    		}
    
    		return len(accessor.GetName())%2 == 0
    	})
    
    	require.NoError(t, testContext.UpdateAndWait(fakeParams, denyPolicy, denyBinding))
    
    	// Validate a non-matching input.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  8. tests/migrate_test.go

    		t.Fatalf("Failed to rename table, got error %v", err)
    	}
    
    	if !DB.Migrator().HasTable("new_table_structs") {
    		t.Fatal("should found renamed table")
    	}
    
    	DB.Migrator().DropTable("new_table_structs")
    
    	if DB.Migrator().HasTable(&NewTableStruct{}) {
    		t.Fatal("should not found dropped table")
    	}
    }
    
    func TestMigrateWithQuotedIndex(t *testing.T) {
    	if DB.Dialector.Name() != "mysql" {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  9. src/strings/strings_test.go

    }
    
    func TestUnreadRuneError(t *testing.T) {
    	for _, tt := range UnreadRuneErrorTests {
    		reader := NewReader("0123456789")
    		if _, _, err := reader.ReadRune(); err != nil {
    			// should not happen
    			t.Fatal(err)
    		}
    		tt.f(reader)
    		err := reader.UnreadRune()
    		if err == nil {
    			t.Errorf("Unreading after %s: expected error", tt.name)
    		}
    	}
    }
    
    var ReplaceTests = []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    }
    
    func RunTestList(ctx context.Context, t *testing.T, store storage.Interface, compaction Compaction, ignoreWatchCacheTests bool) {
    	initialRV, preset, err := seedMultiLevelData(ctx, store)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	list := &example.PodList{}
    	storageOpts := storage.ListOptions{
    		// Ensure we're listing from "now".
    		ResourceVersion: "",
    		Predicate:       storage.Everything,
    		Recursive:       true,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top