diff --git a/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/allocatortesting/allocator_testing.go b/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/allocatortesting/allocator_testing.go index 70d4390472a..fef06e80492 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/allocatortesting/allocator_testing.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/allocatortesting/allocator_testing.go @@ -6038,7 +6038,7 @@ func TestAllocator(t *testing.T, expectResults: nil, expectNumAllocateOneInvocations: 16, expectNumAllocateOneInvocationsByChannel: map[internal.AllocatorChannel]int64{ - internal.Incubating: 65, + internal.Stable: 65, }, }, "check-combinations-within-single-request-single-pool-multiple-slices": { @@ -6060,7 +6060,7 @@ func TestAllocator(t *testing.T, expectResults: nil, expectNumAllocateOneInvocations: 16, expectNumAllocateOneInvocationsByChannel: map[internal.AllocatorChannel]int64{ - internal.Incubating: 65, + internal.Stable: 65, }, }, "check-combinations-within-single-request-multiple-pools-multiple-slices": { @@ -6084,7 +6084,7 @@ func TestAllocator(t *testing.T, expectResults: nil, expectNumAllocateOneInvocations: 16, expectNumAllocateOneInvocationsByChannel: map[internal.AllocatorChannel]int64{ - internal.Incubating: 65, + internal.Stable: 65, }, }, "check-combinations-within-single-request-many-pools": { @@ -6110,7 +6110,7 @@ func TestAllocator(t *testing.T, expectResults: nil, expectNumAllocateOneInvocations: 16, expectNumAllocateOneInvocationsByChannel: map[internal.AllocatorChannel]int64{ - internal.Incubating: 65, + internal.Stable: 65, }, }, "check-combinations-with-backtracking": { @@ -6154,7 +6154,7 @@ func TestAllocator(t *testing.T, )}, expectNumAllocateOneInvocations: 12, expectNumAllocateOneInvocationsByChannel: map[internal.AllocatorChannel]int64{ - internal.Incubating: 14, + internal.Stable: 14, }, }, "check-combinations-with-backtracking-across-slices-and-pools": { @@ -6209,7 +6209,7 @@ func TestAllocator(t *testing.T, )}, expectNumAllocateOneInvocations: 12, expectNumAllocateOneInvocationsByChannel: map[internal.AllocatorChannel]int64{ - internal.Incubating: 14, + internal.Stable: 14, }, }, "check-combinations-with-prioritized-list": { @@ -6266,7 +6266,7 @@ func TestAllocator(t *testing.T, )}, expectNumAllocateOneInvocations: 26, expectNumAllocateOneInvocationsByChannel: map[internal.AllocatorChannel]int64{ - internal.Incubating: 32, + internal.Stable: 32, }, }, } diff --git a/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/incubating/allocator_incubating.go b/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/incubating/allocator_incubating.go index 5dc003da54f..5d79e07a16c 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/incubating/allocator_incubating.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/incubating/allocator_incubating.go @@ -145,7 +145,7 @@ func NewAllocator(ctx context.Context, } func (a *Allocator) Channel() internal.AllocatorChannel { - return internal.Experimental + return internal.Incubating } func (a *Allocator) Allocate(ctx context.Context, node *v1.Node, claims []*resourceapi.ResourceClaim) (finalResult []resourceapi.AllocationResult, finalErr error) { diff --git a/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/stable/allocator_stable.go b/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/stable/allocator_stable.go index b3fcfd94925..ad84997516e 100644 --- a/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/stable/allocator_stable.go +++ b/staging/src/k8s.io/dynamic-resource-allocation/structured/internal/stable/allocator_stable.go @@ -104,7 +104,7 @@ func NewAllocator(ctx context.Context, } func (a *Allocator) Channel() internal.AllocatorChannel { - return internal.Incubating + return internal.Stable } func (a *Allocator) Allocate(ctx context.Context, node *v1.Node, claims []*resourceapi.ResourceClaim) (finalResult []resourceapi.AllocationResult, finalErr error) {