diff --git a/e2e/deployment/deployment.go b/e2e/deployment/deployment.go index a8a7f1fb5f01..aa21a5d44521 100644 --- a/e2e/deployment/deployment.go +++ b/e2e/deployment/deployment.go @@ -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) }