Skip to content

Commit

Permalink
e2e re-select deployment before final status check
Browse files Browse the repository at this point in the history
  • Loading branch information
langmartin committed May 21, 2019
1 parent 13caf1f commit e966eb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ func (tc *DeploymentTest) TestDeploymentAutoPromote(f *framework.F) {

// Deployment is eventually running
e2eutil.WaitForDeployment(t, nomadClient, deploy.ID, run, structs.DeploymentStatusDescriptionRunning)

deploy, _, _ = nomadClient.Deployments().Info(deploy.ID, nil)
require.Equal(t, run, deploy.Status)
require.Equal(t, structs.DeploymentStatusDescriptionRunning, deploy.StatusDescription)
}
Expand Down

0 comments on commit e966eb6

Please sign in to comment.