Skip to content

Commit c757bf8

Browse files
committed
Add wait time to ensure logs are uploaded to CW
1 parent c3f620c commit c757bf8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration-tests/tests/scaling/test_scaling.py

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# See the License for the specific language governing permissions and limitations under the License.
1212
import logging
1313
import os
14+
import time
1415
from itertools import chain
1516
from typing import Union
1617

@@ -520,6 +521,8 @@ def _assert_cluster_update_scaling(
520521
cluster, updated_cluster_config, scheduler_commands, region, max_monitoring_time
521522
)
522523

524+
time.sleep(300) # Time to upload logs to CW before deleting cluster
525+
523526
_check_scaling_results(
524527
ec2_capacity_time_series,
525528
compute_nodes_time_series,

0 commit comments

Comments
 (0)