File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/autoscaling/tests/unit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ async def test_ec2_startup_script_just_ami(
145145 )
146146 assert not instance_boot_specific .pre_pull_images
147147 startup_script = await ec2_startup_script (instance_boot_specific , app_settings )
148- assert len (startup_script .split ("&&" )) == 1
148+ assert len (startup_script .split ("&&" )) == 2
149149 assert re .fullmatch (
150150 r"^docker swarm join --availability=drain --token .*$" , startup_script
151151 )
@@ -235,7 +235,7 @@ async def test_ec2_startup_script_with_custom_scripts(
235235 )
236236 assert not instance_boot_specific .pre_pull_images
237237 startup_script = await ec2_startup_script (instance_boot_specific , app_settings )
238- assert len (startup_script .split ("&&" )) == 1 + len (
238+ assert len (startup_script .split ("&&" )) == 2 + len (
239239 ec2_instances_boot_ami_scripts
240240 )
241241 assert re .fullmatch (
You can’t perform that action at this time.
0 commit comments