Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
7676693f
Commit
7676693f
authored
10 years ago
by
Christine Lytwynec
Browse files
Options
Downloads
Plain Diff
Merge pull request #7188 from edx/clytwynec/TE-769
fix bok-choy reporting on failure
parents
119d761c
6c939979
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/all-tests.sh
+20
-9
20 additions, 9 deletions
scripts/all-tests.sh
with
20 additions
and
9 deletions
scripts/all-tests.sh
+
20
−
9
View file @
7676693f
...
...
@@ -94,13 +94,13 @@ END
"unit"
)
case
"
$SHARD
"
in
"lms"
)
paver test_system
-s
lms
--extra_args
=
"--with-flaky"
paver test_system
-s
lms
--extra_args
=
"--with-flaky"
||
{
EXIT
=
1
;
}
paver coverage
;;
"cms-js-commonlib"
)
paver test_system
-s
cms
--extra_args
=
"--with-flaky"
paver test_js
--coverage
--skip_clean
paver test_lib
--skip_clean
--extra_args
=
"--with-flaky"
paver test_system
-s
cms
--extra_args
=
"--with-flaky"
||
{
EXIT
=
1
;
}
paver test_js
--coverage
--skip_clean
||
{
EXIT
=
1
;
}
paver test_lib
--skip_clean
--extra_args
=
"--with-flaky"
||
{
EXIT
=
1
;
}
paver coverage
;;
*
)
...
...
@@ -108,6 +108,8 @@ END
paver coverage
;;
esac
exit
$EXIT
;;
"lms-acceptance"
)
...
...
@@ -157,23 +159,23 @@ END
case
"
$SHARD
"
in
"all"
)
paver test_bokchoy
paver test_bokchoy
||
{
EXIT
=
1
;
}
;;
"1"
)
paver test_bokchoy
--extra_args
=
"-a shard_1 --with-flaky"
paver test_bokchoy
--extra_args
=
"-a shard_1 --with-flaky"
||
{
EXIT
=
1
;
}
;;
"2"
)
paver test_bokchoy
--extra_args
=
"-a 'shard_2' --with-flaky"
paver test_bokchoy
--extra_args
=
"-a 'shard_2' --with-flaky"
||
{
EXIT
=
1
;
}
;;
"3"
)
paver test_bokchoy
--extra_args
=
"-a 'shard_3' --with-flaky"
paver test_bokchoy
--extra_args
=
"-a 'shard_3' --with-flaky"
||
{
EXIT
=
1
;
}
;;
"4"
)
paver test_bokchoy
--extra_args
=
"-a shard_1=False,shard_2=False,shard_3=False --with-flaky"
paver test_bokchoy
--extra_args
=
"-a shard_1=False,shard_2=False,shard_3=False --with-flaky"
||
{
EXIT
=
1
;
}
;;
# Default case because if we later define another bok-choy shard on Jenkins
...
...
@@ -196,6 +198,15 @@ END
END
;;
esac
# Move the reports to a directory that is unique to the shard
# so that when they are 'slurped' to the main flow job, they
# do not conflict with and overwrite reports from other shards.
mv
reports/ reports_tmp/
mkdir
-p
reports/
${
TEST_SUITE
}
/
${
SHARD
}
mv
reports_tmp/
*
reports/
${
TEST_SUITE
}
/
${
SHARD
}
rm
-r
reports_tmp/
exit
$EXIT
;;
esac
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment