Browse Source

[sahara] provide default version of hadoop version

this version is the only currently available version in vanilla
plugin.

Change-Id: I58cd0aa6165e58b694a43d7f3314030433f160e5
Closes-bug: 1634523
tags/11.0.0.0rc1
Vitaly Gridnev 2 years ago
parent
commit
f60d2c645c

+ 1
- 1
fuel_health/tests/sanity/test_sanity_sahara.py View File

@@ -61,7 +61,7 @@ class VanillaTwoTemplatesTest(SaharaTemplatesTest):
61 61
         }
62 62
         self._plugin_name = 'vanilla'
63 63
         self._hadoop_version = mapping_versions_of_plugin.get(
64
-            self.config.fuel.fuel_version)
64
+            self.config.fuel.fuel_version, "2.7.1")
65 65
         self._node_processes = ['resourcemanager', 'namenode',
66 66
                                 'secondarynamenode', 'oozie', 'historyserver',
67 67
                                 'nodemanager', 'datanode']

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

@@ -529,7 +529,7 @@ class CeilometerApiPlatformTests(ceilometermanager.CeilometerBaseTest):
529 529
             "10.0": "2.7.1"
530 530
         }
531 531
         hadoop_version = mapping_versions_of_plugin.get(
532
-            self.config.fuel.fuel_version)
532
+            self.config.fuel.fuel_version, "2.7.1")
533 533
 
534 534
         fail_msg = 'Failed to find correctly registered Sahara image.'
535 535
         msg = 'finding correctly registered Sahara image'

+ 1
- 1
fuel_health/tests/tests_platform/test_sahara.py View File

@@ -101,7 +101,7 @@ class VanillaTwoClusterTest(SaharaClusterTest):
101 101
         }
102 102
         self._plugin_name = 'vanilla'
103 103
         self._hadoop_version = mapping_versions_of_plugin.get(
104
-            self.config.fuel.fuel_version)
104
+            self.config.fuel.fuel_version, "2.7.1")
105 105
         self._worker_processes = ['nodemanager', 'datanode']
106 106
         self._master_processes = ['resourcemanager', 'namenode', 'oozie',
107 107
                                   'historyserver', 'secondarynamenode']

Loading…
Cancel
Save