Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testDeleteCollection (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete_test.go

    				}
    				t.Logf("encode object: %#v", err)
    			} else {
    				if !test.ok {
    					t.Errorf("expect err but got nil")
    				}
    			}
    		})
    	}
    }
    
    func TestDeleteCollection(t *testing.T) {
    	req := &http.Request{
    		Header: http.Header{},
    	}
    	req.Header.Set("Content-Type", "application/json")
    
    	fakeCorev1GroupVersion := schema.GroupVersion{
    		Group:   "",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go

    		testWatch(ctx, t, tcs, dynamicClient)
    	})
    	t.Run("list", func(t *testing.T) {
    		testList(ctx, t, tcs, dynamicClient)
    	})
    	t.Run("deleteCollection", func(t *testing.T) {
    		testDeleteCollection(ctx, t, tcs, dynamicClient)
    	})
    }
    
    func testWatch(ctx context.Context, t *testing.T, tcs []selectableFieldTestCase, dynamicClient dynamic.Interface) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top