Skip to content

Commit

Permalink
Add wait time to ensure logs are uploaded to CW
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyMM committed Nov 22, 2023
1 parent e329914 commit db1f426
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/integration-tests/tests/scaling/test_scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and limitations under the License.
import logging
import os
import time
from itertools import chain
from typing import Union

Expand Down Expand Up @@ -520,6 +521,8 @@ def _assert_cluster_update_scaling(
cluster, updated_cluster_config, scheduler_commands, region, max_monitoring_time
)

time.sleep(300) # Time to upload logs to CW before deleting cluster

_check_scaling_results(
ec2_capacity_time_series,
compute_nodes_time_series,
Expand Down

0 comments on commit db1f426

Please sign in to comment.