Browse Source

Merge "Added mapping of hadoops for Ceilometer tests"

Jenkins 2 years ago
parent
commit
0782a88c8f
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      fuel_health/tests/tests_platform/test_ceilometer.py

+ 9
- 1
fuel_health/tests/tests_platform/test_ceilometer.py View File

@@ -521,7 +521,15 @@ class CeilometerApiPlatformTests(ceilometermanager.CeilometerBaseTest):
521 521
         """
522 522
 
523 523
         plugin_name = 'vanilla'
524
-        hadoop_version = '2.6.0'
524
+        mapping_versions_of_plugin = {
525
+            "6.1": "2.4.1",
526
+            "7.0": "2.6.0",
527
+            "8.0": "2.7.1",
528
+            "9.0": "2.7.1",
529
+            "10.0": "2.7.1"
530
+        }
531
+        hadoop_version = mapping_versions_of_plugin.get(
532
+            self.config.fuel.fuel_version)
525 533
 
526 534
         fail_msg = 'Failed to find correctly registered Sahara image.'
527 535
         msg = 'finding correctly registered Sahara image'

Loading…
Cancel
Save