[jboss-jira] [JBoss JIRA] (SWSQE-383) Run UI tests and REST tests sequentialy not in parallel

Filip Brychta (JIRA) issues at jboss.org
Tue Aug 21 08:58:01 EDT 2018


Filip Brychta created SWSQE-383:
-----------------------------------

             Summary: Run UI tests and REST tests sequentialy not in parallel
                 Key: SWSQE-383
                 URL: https://issues.jboss.org/browse/SWSQE-383
             Project: Kiali QE
          Issue Type: Bug
            Reporter: Filip Brychta
            Assignee: Filip Brychta


We are running UI and REST tests in parallel but those tests are not atomic. We need to run it sequentially.

Here is the main pipeline snippet:
 stage('Run Tests') {$
            parallel {$
                stage('Python UI tests') {$
                    when { environment name: 'RUN_UI_TESTS', value: 'true' }$
                    steps {$
                        build(job: 'run-python-ui-tests',$
                        parameters: [$
                           [$class: 'StringParameterValue', value: "${params.OS_USERNAME}", name: 'OS_USERNAME'],$
                           [$class: 'StringParameterValue', value: "${params.OS_PASSWORD}", name: 'OS_PASSWORD'],$
                           [$class: 'StringParameterValue', value: "https://${params.OS_HOSTNAME}:${params.OS_PORT}", name: 'OS_URL'],$
                        ]$
                        )$
                    }$
                }$
                stage('REST API tests') {$
                    when { environment name: 'RUN_REST_TESTS', value: 'true' }$
                    steps {$
                        build(job: 'run-python-rest-tests',$
                        parameters: [$
                           [$class: 'StringParameterValue', value: "${params.OS_USERNAME}", name: 'OS_USERNAME'],$
                           [$class: 'StringParameterValue', value: "${params.OS_PASSWORD}", name: 'OS_PASSWORD'],$
                           [$class: 'StringParameterValue', value: "https://${params.OS_HOSTNAME}:${params.OS_PORT}", name: 'OS_URL'],$
                        ]$
                        )$
                    }$
                }$
            }$
        }



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list