Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
suzhoum committed Feb 13, 2025
1 parent 9594aaa commit a583745
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/unittests/cloud/aws/test_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
import aws_cdk.aws_ec2 as ec2
import aws_cdk.aws_s3 as s3
from aws_cdk import App, Stack
from aws_cdk.aws_batch_alpha import ComputeEnvironment, JobDefinition, JobQueue
from aws_cdk.aws_batch import CfnComputeEnvironment, CfnJobDefinition, CfnJobQueue
from aws_cdk.aws_ec2 import CfnLaunchTemplate
from aws_cdk.aws_ecr_assets import DockerImageAsset
from aws_cdk.aws_iam import Role
from aws_cdk.aws_iam import CfnInstanceProfile, Role
from conftest import context_values, env

from autogluon.bench.cloud.aws.batch_stack.constructs.batch_lambda_function import BatchLambdaFunction
from autogluon.bench.cloud.aws.batch_stack.constructs.instance_profile import InstanceProfile
from autogluon.bench.cloud.aws.batch_stack.stack import BatchJobStack, StaticResourceStack


Expand Down Expand Up @@ -85,12 +85,12 @@ def test_batch_job_stack():
constructs = [
(f"{prefix}-security-group", ec2.SecurityGroup),
(f"{prefix}-ecr-docker-image-asset", DockerImageAsset),
("job-definition", JobDefinition),
(f"{prefix}-launch-template", ec2.LaunchTemplate),
(f"{prefix}-job-definition", CfnJobDefinition),
(f"{prefix}-launch-template", CfnLaunchTemplate),
(f"{prefix}-instance-role", Role),
(f"{prefix}-instance-profile", InstanceProfile),
(f"{prefix}-compute-environment", ComputeEnvironment),
(f"{prefix}-job-queue", JobQueue),
(f"{prefix}-instance-profile", CfnInstanceProfile),
(f"{prefix}-compute-environment", CfnComputeEnvironment),
(f"{prefix}-job-queue", CfnJobQueue),
(f"{lambda_function_name}-{prefix}", BatchLambdaFunction),
("vpc", ec2.Vpc),
]
Expand Down

0 comments on commit a583745

Please sign in to comment.