Skip to content

Commit

Permalink
failing test, halp
Browse files Browse the repository at this point in the history
  • Loading branch information
dustMason committed Mar 20, 2020
1 parent cf03f27 commit 719cd37
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions deployer/models/release_resources_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ func Test_Release_CreateResources_Works(t *testing.T) {
assert.NoError(t, r.CreateResources(awsc.ASG, awsc.CW, awsc.ALB))
}

func Test_Release_CreateResources_Stores_PauseForSlowStart(t *testing.T) {
r := MockRelease(t)
MockPrepareRelease(r)
awsc := MockAwsClients(r)
_ = r.CreateResources(awsc.ASG, awsc.CW, awsc.ALB)
assert.Equal(t, 42, *r.PauseForSlowStart)
}

func Test_Release_UpdateHealthy_Works(t *testing.T) {
// func (release *Release) UpdateHealthy(asgc aws.ASGAPI, elbc aws.ELBAPI, albc aws.ALBAPI) error {
r := MockRelease(t)
Expand Down

0 comments on commit 719cd37

Please sign in to comment.