Skip to content

Commit 589d93a

Browse files
authored
Fix jobs integration test (#219)
1 parent 7a8425c commit 589d93a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/jobs/test_dsc_job.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ def test_create_job_with_dsc_infra_config(self):
314314
for sk, sv in v.items():
315315
expected_infra_spec[attr_map[k]][attr_map[sk]] = sv
316316
infra = builder_method(**v)
317+
# Shape config is not required for non flex shape from user end.
318+
# When we have shape config, we need Flex shape also:
319+
if k == "shape_config_details":
320+
infra = infra.with_shape_name("VM.Standard.E3.Flex")
317321
else:
318322
expected_infra_spec[attr_map[k]] = v
319323
infra = builder_method(v)

0 commit comments

Comments
 (0)