33
44from cfme import test_requirements
55
6+ pytestmark = [
7+ pytest .mark .manual ,
8+ ]
9+
610
7- @pytest .mark .manual
811@test_requirements .bottleneck
912@pytest .mark .tier (2 )
1013def test_bottleneck_datastore ():
@@ -21,7 +24,6 @@ def test_bottleneck_datastore():
2124 pass
2225
2326
24- @pytest .mark .manual
2527@test_requirements .bottleneck
2628@pytest .mark .tier (2 )
2729def test_bottleneck_provider ():
@@ -38,7 +40,6 @@ def test_bottleneck_provider():
3840 pass
3941
4042
41- @pytest .mark .manual
4243@test_requirements .bottleneck
4344@pytest .mark .tier (2 )
4445def test_bottleneck_host ():
@@ -55,7 +56,6 @@ def test_bottleneck_host():
5556 pass
5657
5758
58- @pytest .mark .manual
5959@test_requirements .bottleneck
6060@pytest .mark .tier (2 )
6161def test_bottleneck_cluster ():
@@ -72,7 +72,6 @@ def test_bottleneck_cluster():
7272 pass
7373
7474
75- @pytest .mark .manual
7675@test_requirements .bottleneck
7776@pytest .mark .tier (1 )
7877def test_bottleneck_summary_graph ():
@@ -91,9 +90,8 @@ def test_bottleneck_summary_graph():
9190 pass
9291
9392
94- @pytest .mark .manual
95- @test_requirements .c_and_u
9693@pytest .mark .tier (1 )
94+ @test_requirements .c_and_u
9795def test_utilization_utilization_graphs ():
9896 """
9997 Polarion:
@@ -112,9 +110,8 @@ def test_utilization_utilization_graphs():
112110 pass
113111
114112
115- @pytest .mark .manual
116- @test_requirements .c_and_u
117113@pytest .mark .tier (2 )
114+ @test_requirements .c_and_u
118115def test_utilization_provider ():
119116 """
120117 Verify гutilication data from providers
@@ -129,9 +126,8 @@ def test_utilization_provider():
129126 pass
130127
131128
132- @pytest .mark .manual
133- @test_requirements .c_and_u
134129@pytest .mark .tier (2 )
130+ @test_requirements .c_and_u
135131def test_utilization_cluster ():
136132 """
137133 Verify гutilication data from cluster
@@ -146,9 +142,8 @@ def test_utilization_cluster():
146142 pass
147143
148144
149- @pytest .mark .manual
150- @test_requirements .c_and_u
151145@pytest .mark .tier (2 )
146+ @test_requirements .c_and_u
152147def test_utilization_host ():
153148 """
154149 Verify utilication data from host
@@ -163,9 +158,8 @@ def test_utilization_host():
163158 pass
164159
165160
166- @pytest .mark .manual
167- @test_requirements .c_and_u
168161@pytest .mark .tier (3 )
162+ @test_requirements .c_and_u
169163def test_crosshair_op_cluster_vsphere65 ():
170164 """
171165 Requires:
@@ -189,9 +183,8 @@ def test_crosshair_op_cluster_vsphere65():
189183 pass
190184
191185
192- @pytest .mark .manual
193- @test_requirements .c_and_u
194186@pytest .mark .tier (2 )
187+ @test_requirements .c_and_u
195188def test_crosshair_op_azone_azure ():
196189 """
197190 Utilization Test
@@ -205,9 +198,8 @@ def test_crosshair_op_azone_azure():
205198 pass
206199
207200
208- @pytest .mark .manual
209- @test_requirements .c_and_u
210201@pytest .mark .tier (2 )
202+ @test_requirements .c_and_u
211203def test_crosshair_op_azone_ec2 ():
212204 """
213205 test_crosshair_op_azone[ec2]
@@ -222,9 +214,8 @@ def test_crosshair_op_azone_ec2():
222214 pass
223215
224216
225- @pytest .mark .manual
226- @test_requirements .c_and_u
227217@pytest .mark .tier (3 )
218+ @test_requirements .c_and_u
228219def test_host_tagged_crosshair_op_vsphere65 ():
229220 """
230221 Required C&U enabled application:1. Navigate to host C&U graphs
@@ -241,9 +232,8 @@ def test_host_tagged_crosshair_op_vsphere65():
241232 pass
242233
243234
244- @pytest .mark .manual
245- @test_requirements .c_and_u
246235@pytest .mark .tier (3 )
236+ @test_requirements .c_and_u
247237def test_cluster_graph_by_vm_tag_vsphere65 ():
248238 """
249239 test_cluster_graph_by_vm_tag[vsphere65]
@@ -257,9 +247,8 @@ def test_cluster_graph_by_vm_tag_vsphere65():
257247 pass
258248
259249
260- @pytest .mark .manual
261- @test_requirements .c_and_u
262250@pytest .mark .tier (3 )
251+ @test_requirements .c_and_u
263252def test_cluster_graph_by_host_tag_vsphere65 ():
264253 """
265254 test_cluster_graph_by_host_tag[vsphere65]
@@ -273,9 +262,8 @@ def test_cluster_graph_by_host_tag_vsphere65():
273262 pass
274263
275264
276- @pytest .mark .manual
277- @test_requirements .c_and_u
278265@pytest .mark .tier (3 )
266+ @test_requirements .c_and_u
279267def test_candu_graphs_vm_compare_host_vsphere65 ():
280268 """
281269 test_candu_graphs_vm_compare_host[vsphere65]
@@ -289,9 +277,8 @@ def test_candu_graphs_vm_compare_host_vsphere65():
289277 pass
290278
291279
292- @pytest .mark .manual
293- @test_requirements .c_and_u
294280@pytest .mark .tier (3 )
281+ @test_requirements .c_and_u
295282def test_candu_graphs_vm_compare_cluster_vsphere65 ():
296283 """
297284 test_candu_graphs_vm_compare_cluster[vsphere65]
@@ -305,9 +292,8 @@ def test_candu_graphs_vm_compare_cluster_vsphere65():
305292 pass
306293
307294
308- @pytest .mark .manual
309- @test_requirements .c_and_u
310295@pytest .mark .tier (3 )
296+ @test_requirements .c_and_u
311297def test_crosshair_op_vm_vsphere65 ():
312298 """
313299 Requires:
@@ -329,9 +315,8 @@ def test_crosshair_op_vm_vsphere65():
329315 pass
330316
331317
332- @pytest .mark .manual
333- @test_requirements .c_and_u
334318@pytest .mark .tier (2 )
319+ @test_requirements .c_and_u
335320def test_crosshair_op_instance_azure ():
336321 """
337322 Utilization Test
@@ -345,9 +330,8 @@ def test_crosshair_op_instance_azure():
345330 pass
346331
347332
348- @pytest .mark .manual
349- @test_requirements .c_and_u
350333@pytest .mark .tier (2 )
334+ @test_requirements .c_and_u
351335def test_crosshair_op_instance_ec2 ():
352336 """
353337 Verify that the following cross-hair operations can be performed on
@@ -368,9 +352,8 @@ def test_crosshair_op_instance_ec2():
368352 pass
369353
370354
371- @pytest .mark .manual
372- @test_requirements .c_and_u
373355@pytest .mark .tier (3 )
356+ @test_requirements .c_and_u
374357def test_crosshair_op_datastore_vsphere65 ():
375358 """
376359 Requires:
@@ -392,9 +375,8 @@ def test_crosshair_op_datastore_vsphere65():
392375 pass
393376
394377
395- @pytest .mark .manual
396- @test_requirements .c_and_u
397378@pytest .mark .tier (3 )
379+ @test_requirements .c_and_u
398380def test_group_by_tag_azone_azure ():
399381 """
400382 Utilization Test
@@ -408,9 +390,8 @@ def test_group_by_tag_azone_azure():
408390 pass
409391
410392
411- @pytest .mark .manual
412- @test_requirements .c_and_u
413393@pytest .mark .tier (3 )
394+ @test_requirements .c_and_u
414395def test_azone_group_by_tag_ec2 ():
415396 """
416397 test_azone_group_by_tag[ec2]
@@ -425,9 +406,8 @@ def test_azone_group_by_tag_ec2():
425406 pass
426407
427408
428- @pytest .mark .manual
429- @test_requirements .c_and_u
430409@pytest .mark .tier (2 )
410+ @test_requirements .c_and_u
431411def test_candu_graphs_datastore_vsphere6 ():
432412 """
433413 test_candu_graphs_datastore[vsphere6]
@@ -441,9 +421,8 @@ def test_candu_graphs_datastore_vsphere6():
441421 pass
442422
443423
444- @pytest .mark .manual
445- @test_requirements .c_and_u
446424@pytest .mark .tier (3 )
425+ @test_requirements .c_and_u
447426def test_crosshair_op_host_vsphere65 ():
448427 """
449428 Requires:
@@ -466,9 +445,8 @@ def test_crosshair_op_host_vsphere65():
466445 pass
467446
468447
469- @pytest .mark .manual
470- @test_requirements .c_and_u
471448@pytest .mark .tier (3 )
449+ @test_requirements .c_and_u
472450def test_candu_collection_tab ():
473451 """
474452 Test case to cover -
@@ -489,9 +467,8 @@ def test_candu_collection_tab():
489467 pass
490468
491469
492- @pytest .mark .manual
493- @test_requirements .c_and_u
494470@pytest .mark .tier (3 )
471+ @test_requirements .c_and_u
495472def test_cluster_tagged_crosshair_op_vsphere65 ():
496473 """
497474 Required C&U enabled application:1. Navigate to cluster C&U graphs
@@ -508,15 +485,15 @@ def test_cluster_tagged_crosshair_op_vsphere65():
508485 pass
509486
510487
511- @pytest .mark .manual
488+ @pytest .mark .tier ( 3 )
512489@test_requirements .c_and_u
513490def test_ec2_instance_memory_metrics ():
514491 """
515492 Bugzilla:
516493 1684525
517494
518495 Polarion:
519- assignee: mmojzis
496+ assignee: gtalreja
520497 casecomponent: Cloud
521498 initialEstimate: 1h
522499 caseimportance: medium
@@ -540,3 +517,33 @@ def test_ec2_instance_memory_metrics():
540517 7. Memory metrics should have data.
541518 """
542519 pass
520+
521+
522+ @pytest .mark .tier (3 )
523+ @test_requirements .c_and_u
524+ @pytest .mark .meta (coverage = [1776684 ])
525+ def test_candu_verify_global_utilization_metrics ():
526+ """
527+ Bugzilla:
528+ 1776684
529+
530+ Polarion:
531+ assignee: gtalreja
532+ casecomponent: CandU
533+ initialEstimate: 1h
534+ caseimportance: medium
535+ startsin: 5.10
536+ testSteps:
537+ 1. Set up replication with 2 appliances global and remote
538+ 2. Enable C&U data on both appliances
539+ 3. Add provider on the remote, check data on the provider's dashboard
540+ 4. Add same provider on the global, check data on the provider's dashboard
541+ 5. Wait for at least 1 day for "Global Utilization" tab for providers
542+ expectedResults:
543+ 1.
544+ 2.
545+ 3.
546+ 4.
547+ 5. Metrics should be same for Global and Remote regions.
548+ """
549+ pass
0 commit comments