kubernetes/test/integration/deployment/deployment_test.go

func TestNewDeployment(t *testing.T) {}

// Deployments should support roll out, roll back, and roll over.
func TestDeploymentRollingUpdate(t *testing.T) {}

// selectors are IMMUTABLE for all API versions except apps/v1beta1 and extensions/v1beta1
func TestDeploymentSelectorImmutability(t *testing.T) {}

// Paused deployment should not start new rollout
func TestPausedDeployment(t *testing.T) {}

// Paused deployment can be scaled
func TestScalePausedDeployment(t *testing.T) {}

// Deployment rollout shouldn't be blocked on hash collisions
func TestDeploymentHashCollision(t *testing.T) {}

func checkRSHashLabels(rs *apps.ReplicaSet) (string, error) {}

func checkPodsHashLabel(pods *v1.PodList) (string, error) {}

// Deployment should have a timeout condition when it fails to progress after given deadline.
func TestFailedDeployment(t *testing.T) {}

func TestOverlappingDeployments(t *testing.T) {}

// Deployment should not block rollout when updating spec replica number and template at the same time.
func TestScaledRolloutDeployment(t *testing.T) {}

func TestSpecReplicasChange(t *testing.T) {}

func TestDeploymentAvailableCondition(t *testing.T) {}

// Wait for deployment to automatically patch incorrect ControllerRef of RS
func testRSControllerRefPatch(t *testing.T, tester *deploymentTester, rs *apps.ReplicaSet, ownerReference *metav1.OwnerReference, expectedOwnerReferenceNum int) {}

func TestGeneralReplicaSetAdoption(t *testing.T) {}

func testScalingUsingScaleSubresource(t *testing.T, tester *deploymentTester, replicas int32) {}

func TestDeploymentScaleSubresource(t *testing.T) {}

// This test verifies that the Deployment does orphan a ReplicaSet when the ReplicaSet's
// .Labels field is changed to no longer match the Deployment's selector. It also partially
// verifies that collision avoidance mechanism is triggered when a Deployment's new ReplicaSet
// is orphaned, even without PodTemplateSpec change. Refer comment below for more info:
// https://github.com/kubernetes/kubernetes/pull/59212#discussion_r166465113
func TestReplicaSetOrphaningAndAdoptionWhenLabelsChange(t *testing.T) {}