Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestHorizontalPodAutoscalerAnnotations (1.16 sec)

  1. pkg/apis/autoscaling/v1/defaults_test.go

    		} else if test.expectReplicas != *hpa2.Spec.MinReplicas {
    			t.Errorf("expected: %d MinReplicas, got: %d", test.expectReplicas, *hpa2.Spec.MinReplicas)
    		}
    	}
    }
    
    func TestHorizontalPodAutoscalerAnnotations(t *testing.T) {
    	tests := []struct {
    		hpa  autoscalingv1.HorizontalPodAutoscaler
    		test string
    	}{
    		{
    			hpa: autoscalingv1.HorizontalPodAutoscaler{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. pkg/apis/autoscaling/v2beta1/defaults_test.go

    		}
    		if !apiequality.Semantic.DeepEqual(got.Spec, expected.Spec) {
    			t.Errorf("(%d) got different than expected\ngot:\n\t%+v\nexpected:\n\t%+v", i, got.Spec, expected.Spec)
    		}
    	}
    }
    
    func TestHorizontalPodAutoscalerAnnotations(t *testing.T) {
    	tests := []struct {
    		hpa  autoscalingv2beta1.HorizontalPodAutoscaler
    		test string
    	}{
    		{
    			hpa: autoscalingv2beta1.HorizontalPodAutoscaler{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. pkg/apis/autoscaling/v2/defaults_test.go

    			}
    
    			assert.Equal(t, autoscalingv2.ScalingPolicySelect(tc.expectedSelectPolicy), *up.SelectPolicy)
    		})
    	}
    }
    
    func TestHorizontalPodAutoscalerAnnotations(t *testing.T) {
    	tests := []struct {
    		hpa  autoscalingv2.HorizontalPodAutoscaler
    		test string
    	}{
    		{
    			hpa: autoscalingv2.HorizontalPodAutoscaler{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. pkg/apis/autoscaling/v2beta2/defaults_test.go

    			}
    
    			assert.Equal(t, autoscalingv2.ScalingPolicySelect(tc.expectedSelectPolicy), *up.SelectPolicy)
    		})
    	}
    }
    
    func TestHorizontalPodAutoscalerAnnotations(t *testing.T) {
    	tests := []struct {
    		hpa  autoscalingv2.HorizontalPodAutoscaler
    		test string
    	}{
    		{
    			hpa: autoscalingv2.HorizontalPodAutoscaler{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top