Skip to content

Commit

Permalink
Wait after scaling down
Browse files Browse the repository at this point in the history
Signed-off-by: Nitishkumar Singh <[email protected]>
  • Loading branch information
nitishkumar71 committed Sep 30, 2021
1 parent 63206ba commit 7da93cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/scaling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func Test_ScaleFromZeroDuringInvoke(t *testing.T) {

// scaleFunction(t, functionName, 0)
err := config.Client.ScaleFunction(context.Background(), functionName, config.DefaultNamespace, 0)
time.Sleep(time.Minute)
if err != nil {
t.Error("Scaling down function to zero failed!")
}
Expand Down

0 comments on commit 7da93cb

Please sign in to comment.