Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wait time after scaling up/down operations to ensure logs are uploaded to CW #5876

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 in case of assertion failure

_check_scaling_results(
ec2_capacity_time_series,
compute_nodes_time_series,
Expand Down
Loading