Skip to content

Commit c1e3979

Browse files
committed
Add "Insufficient capacity" as pattern to exclude from error check
Add "Insufficient capacity" as ice pattern to exclude from log error check Signed-off-by: Luca Carrogu <carrogu@amazon.com>
1 parent 97d3ae0 commit c1e3979

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/integration-tests/tests/common/assertions.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ def assert_instance_replaced_or_terminating(instance_id, region):
3636
def assert_no_errors_in_logs(remote_command_executor, scheduler, skip_ice=False, ignore_patterns=None):
3737
__tracebackhide__ = True
3838

39-
ice_patterns = ["InsufficientInstanceCapacity", "Failed to launch instances due to limited EC2 capacity"]
39+
ice_patterns = [
40+
"InsufficientInstanceCapacity",
41+
"Insufficient capacity",
42+
"Failed to launch instances due to limited EC2 capacity",
43+
]
4044

4145
patterns_to_ignore = []
4246
if skip_ice:

0 commit comments

Comments
 (0)