Fix: EMR ReleaseLabel validation does not respect semantic versioning (#3489)
Fixes #3474
This commit is contained in:
parent
93b393c679
commit
53a3e52c67
5 changed files with 129 additions and 3 deletions
|
|
@ -636,7 +636,7 @@ def test_run_job_flow_with_custom_ami():
|
|||
|
||||
args = deepcopy(run_job_flow_args)
|
||||
args["CustomAmiId"] = "MyEmrCustomAmi"
|
||||
args["ReleaseLabel"] = "emr-5.7.0"
|
||||
args["ReleaseLabel"] = "emr-5.31.0"
|
||||
cluster_id = client.run_job_flow(**args)["JobFlowId"]
|
||||
resp = client.describe_cluster(ClusterId=cluster_id)
|
||||
resp["Cluster"]["CustomAmiId"].should.equal("MyEmrCustomAmi")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue