Skip to content

Commit 59a3c1a

Browse files
committed
Fixed long length param
1 parent 334d0e0 commit 59a3c1a

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/recordings/test_cosmosdb_priority_based_execution.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
Connection:
1212
- keep-alive
1313
ParameterSetName:
14-
- -n -g --enable-priority-based-execution
14+
- -n -g --enable-pbe
1515
User-Agent:
1616
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
1717
method: GET
@@ -64,7 +64,7 @@ interactions:
6464
Content-Type:
6565
- application/json
6666
ParameterSetName:
67-
- -n -g --enable-priority-based-execution
67+
- -n -g --enable-pbe
6868
User-Agent:
6969
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
7070
method: PUT
@@ -123,7 +123,7 @@ interactions:
123123
Connection:
124124
- keep-alive
125125
ParameterSetName:
126-
- -n -g --enable-priority-based-execution
126+
- -n -g --enable-pbe
127127
User-Agent:
128128
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
129129
method: GET
@@ -171,7 +171,7 @@ interactions:
171171
Connection:
172172
- keep-alive
173173
ParameterSetName:
174-
- -n -g --enable-priority-based-execution
174+
- -n -g --enable-pbe
175175
User-Agent:
176176
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
177177
method: GET
@@ -219,7 +219,7 @@ interactions:
219219
Connection:
220220
- keep-alive
221221
ParameterSetName:
222-
- -n -g --enable-priority-based-execution
222+
- -n -g --enable-pbe
223223
User-Agent:
224224
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
225225
method: GET
@@ -267,7 +267,7 @@ interactions:
267267
Connection:
268268
- keep-alive
269269
ParameterSetName:
270-
- -n -g --enable-priority-based-execution
270+
- -n -g --enable-pbe
271271
User-Agent:
272272
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
273273
method: GET
@@ -318,7 +318,7 @@ interactions:
318318
Connection:
319319
- keep-alive
320320
ParameterSetName:
321-
- -n -g --enable-priority-based-execution
321+
- -n -g --enable-pbe
322322
User-Agent:
323323
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
324324
method: GET
@@ -783,7 +783,7 @@ interactions:
783783
Connection:
784784
- keep-alive
785785
ParameterSetName:
786-
- -n -g --enable-priority-based-execution
786+
- -n -g --enable-pbe
787787
User-Agent:
788788
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
789789
method: GET
@@ -838,7 +838,7 @@ interactions:
838838
Content-Type:
839839
- application/json
840840
ParameterSetName:
841-
- -n -g --enable-priority-based-execution
841+
- -n -g --enable-pbe
842842
User-Agent:
843843
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
844844
method: PATCH
@@ -897,7 +897,7 @@ interactions:
897897
Connection:
898898
- keep-alive
899899
ParameterSetName:
900-
- -n -g --enable-priority-based-execution
900+
- -n -g --enable-pbe
901901
User-Agent:
902902
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
903903
method: GET
@@ -945,7 +945,7 @@ interactions:
945945
Connection:
946946
- keep-alive
947947
ParameterSetName:
948-
- -n -g --enable-priority-based-execution
948+
- -n -g --enable-pbe
949949
User-Agent:
950950
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
951951
method: GET
@@ -993,7 +993,7 @@ interactions:
993993
Connection:
994994
- keep-alive
995995
ParameterSetName:
996-
- -n -g --enable-priority-based-execution
996+
- -n -g --enable-pbe
997997
User-Agent:
998998
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
999999
method: GET
@@ -1044,7 +1044,7 @@ interactions:
10441044
Connection:
10451045
- keep-alive
10461046
ParameterSetName:
1047-
- -n -g --enable-priority-based-execution
1047+
- -n -g --enable-pbe
10481048
User-Agent:
10491049
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
10501050
method: GET
@@ -1146,7 +1146,7 @@ interactions:
11461146
Connection:
11471147
- keep-alive
11481148
ParameterSetName:
1149-
- -n -g --enable-priority-based-execution
1149+
- -n -g --enable-pbe
11501150
User-Agent:
11511151
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
11521152
method: GET
@@ -1201,7 +1201,7 @@ interactions:
12011201
Content-Type:
12021202
- application/json
12031203
ParameterSetName:
1204-
- -n -g --enable-priority-based-execution
1204+
- -n -g --enable-pbe
12051205
User-Agent:
12061206
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
12071207
method: PATCH
@@ -1260,7 +1260,7 @@ interactions:
12601260
Connection:
12611261
- keep-alive
12621262
ParameterSetName:
1263-
- -n -g --enable-priority-based-execution
1263+
- -n -g --enable-pbe
12641264
User-Agent:
12651265
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
12661266
method: GET
@@ -1308,7 +1308,7 @@ interactions:
13081308
Connection:
13091309
- keep-alive
13101310
ParameterSetName:
1311-
- -n -g --enable-priority-based-execution
1311+
- -n -g --enable-pbe
13121312
User-Agent:
13131313
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
13141314
method: GET
@@ -1356,7 +1356,7 @@ interactions:
13561356
Connection:
13571357
- keep-alive
13581358
ParameterSetName:
1359-
- -n -g --enable-priority-based-execution
1359+
- -n -g --enable-pbe
13601360
User-Agent:
13611361
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
13621362
method: GET
@@ -1407,7 +1407,7 @@ interactions:
14071407
Connection:
14081408
- keep-alive
14091409
ParameterSetName:
1410-
- -n -g --enable-priority-based-execution
1410+
- -n -g --enable-pbe
14111411
User-Agent:
14121412
- AZURECLI/2.79.0 azsdk-python-core/1.35.0 Python/3.11.9 (Windows-10-10.0.26200-SP0)
14131413
method: GET

src/azure-cli/azure/cli/command_modules/cosmosdb/tests/latest/test_cosmosdb_priority_based_execution_scenario.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_cosmosdb_priority_based_execution(self, resource_group):
2121
})
2222

2323
# create priority based execution enabled account
24-
self.cmd('az cosmosdb create -n {acc} -g {rg} --enable-priority-based-execution')
24+
self.cmd('az cosmosdb create -n {acc} -g {rg} --enable-pbe')
2525
self.cmd('az cosmosdb show -n {acc} -g {rg}', checks=[
2626
self.check('enablePriorityBasedExecution', True),
2727
])
@@ -35,14 +35,14 @@ def test_cosmosdb_priority_based_execution(self, resource_group):
3535
print('Set Default Priority Level to Low')
3636

3737
# disable Priority Based Execution
38-
self.cmd('az cosmosdb update -n {acc} -g {rg} --enable-priority-based-execution false')
38+
self.cmd('az cosmosdb update -n {acc} -g {rg} --enable-pbe false')
3939
self.cmd('az cosmosdb show -n {acc} -g {rg}', checks=[
4040
self.check('enablePriorityBasedExecution', False),
4141
])
4242
print('Disabled Priority Based Execution')
4343

4444
# enable Priority Based Execution
45-
self.cmd('az cosmosdb update -n {acc} -g {rg} --enable-priority-based-execution')
45+
self.cmd('az cosmosdb update -n {acc} -g {rg} --enable-pbe')
4646
self.cmd('az cosmosdb show -n {acc} -g {rg}', checks=[
4747
self.check('enablePriorityBasedExecution', True),
4848
])

0 commit comments

Comments
 (0)