Skip to content

Commit

Permalink
change process from 3 to 1 (#2289)
Browse files Browse the repository at this point in the history
Signed-off-by: Meina Zhou <[email protected]>
  • Loading branch information
zhoumeina authored Jan 10, 2019
1 parent f2a60f9 commit 009b439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
10 changes: 1 addition & 9 deletions tests/robot-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,6 @@ if [ "${DRONE_BUILD_NUMBER}" -eq 0 ]; then
else
# run pabot cmd on CI
echo "Running integration tests on CI..."
pabot --verbose --processes 3 -d robot-logs --output original.xml $run_options tests/test-cases
pabot --verbose --processes 1 -d robot-logs --output original.xml $run_options tests/test-cases
# do not try re-run if all the tests were passed
if [ $? -eq 0 ]; then
echo "All tests passed on first try, no re-run required"
exit 0
fi

# re-run only failed tests and merge results
pabot --verbose --processes 3 -d robot-logs --rerunfailed robot-logs/original.xml --output rerun.xml $run_options tests/test-cases
rebot -d robot-logs --merge robot-logs/original.xml robot-logs/rerun.xml
fi
1 change: 1 addition & 0 deletions tests/test-cases/Group3-Admiral/3-01-Admiral-UI.robot
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ${cp-card-status-stopped} STOPPED

*** Keywords ***
Setup Base State
Sleep 3 minutes
Open Firefox Browser
Navigate To VIC UI Home Page
Login On Single Sign-On Page
Expand Down

0 comments on commit 009b439

Please sign in to comment.