Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Add sleep statement to selective deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
ubombar committed Dec 7, 2023
1 parent 35a81b6 commit a98f4f2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ func TestCreate(t *testing.T) {
log.Println(workload)
}
sdCopy, err := edgenetclientset.AppsV1alpha1().SelectiveDeployments("create").Get(context.TODO(), sdObj.GetName(), metav1.GetOptions{})
time.Sleep(time.Millisecond * 500)
t.Run("status", func(t *testing.T) {
util.OK(t, err)
util.Equals(t, success, sdCopy.Status.State)
Expand Down

0 comments on commit a98f4f2

Please sign in to comment.