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
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, March 26th
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
cd9fbaeb
Commit
cd9fbaeb
authored
12 years ago
by
Calen Pennington
Browse files
Options
Downloads
Patches
Plain Diff
Add timeout so that jasmine tests eventually fail if the server doesn't start
parent
e8be6b31
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cms/envs/common.py
+1
-0
1 addition, 0 deletions
cms/envs/common.py
lms/envs/common.py
+1
-0
1 addition, 0 deletions
lms/envs/common.py
rakefile
+4
-0
4 additions, 0 deletions
rakefile
with
6 additions
and
0 deletions
cms/envs/common.py
+
1
−
0
View file @
cd9fbaeb
...
...
@@ -35,6 +35,7 @@ MITX_FEATURES = {
'
ENABLE_DISCUSSION_SERVICE
'
:
False
,
'
AUTH_USE_MIT_CERTIFICATES
'
:
False
,
}
ENABLE_JASMINE
=
False
# needed to use lms student app
GENERATE_RANDOM_USER_CREDENTIALS
=
False
...
...
This diff is collapsed.
Click to expand it.
lms/envs/common.py
+
1
−
0
View file @
cd9fbaeb
...
...
@@ -30,6 +30,7 @@ from .discussionsettings import *
################################### FEATURES ###################################
COURSEWARE_ENABLED
=
True
ENABLE_JASMINE
=
False
GENERATE_RANDOM_USER_CREDENTIALS
=
False
PERFSTATS
=
False
...
...
This diff is collapsed.
Click to expand it.
rakefile
+
4
−
0
View file @
cd9fbaeb
...
...
@@ -48,7 +48,11 @@ def django_for_jasmine(system)
puts
django_pid
jasmine_url
=
'http://localhost:12345/_jasmine/'
up
=
false
start_time
=
Time
.
now
until
up
do
if
Time
.
now
-
start_time
>
30
abort
"Timed out waiting for server to start to run jasmine tests"
end
begin
response
=
Net
::
HTTP
.
get_response
(
URI
(
jasmine_url
))
puts
response
.
code
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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