Uploaded image for project: 'Test'
  1. Test
  2. TEST-4

Robot code - re-factor Openstack region variable and correct some documentation

XMLWordPrintable

      ETE Robot tests were initially conceived to have the openstack region to be a test case variable that would enable it to run tests that crossed openstack service regions. As it evolved, the target openstack region was defaulted to the service region of the Robot VM and stored as a global variable (GLOBAL_OPENSTACK_SERVICE_REGION) resulting in close to 50 references to this global variable in open code.

      This change will remove all references to global variable and enable the Robot to set the test case service region as a test case variable rather than a global variable. The robot code that is sensitive to the service region will have access to the current test case service region value via a Keyword.

      Currently, the target service region for all test cases will default to service region of the Robot VM which is the current behavior.

      Some documentation has been corrected as well.

            jf9860 jf9860
            jf9860 jf9860
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: