Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
3383a7b3
Commit
3383a7b3
authored
Jul 05, 2014
by
Leonid Evdokimov
Committed by
Toshio Kuratomi
May 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: replace start-stop-daemon with async action
parent
ae9ba4af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
test/integration/roles/test_uri/handlers/main.yml
+0
-3
test/integration/roles/test_uri/tasks/main.yml
+3
-2
No files found.
test/integration/roles/test_uri/handlers/main.yml
deleted
100644 → 0
View file @
ae9ba4af
---
-
name
:
stop SimpleHTTPServer
shell
:
start-stop-daemon --stop --pidfile {{ output_dir }}/SimpleHTTPServer.pid --exec {{ py2.stdout }}
test/integration/roles/test_uri/tasks/main.yml
View file @
3383a7b3
...
...
@@ -27,8 +27,9 @@
register
:
py2
-
name
:
start SimpleHTTPServer
shell
:
start-stop-daemon --start --pidfile {{ output_dir }}/SimpleHTTPServer.pid --background --make-pidfile --chdir {{ files_dir }} --exec {{ py2.stdout }} -- -m SimpleHTTPServer {{ http_port }}
notify
:
stop SimpleHTTPServer
shell
:
cd {{ files_dir }} && {{ py2.stdout }} -m SimpleHTTPServer {{ http_port }}
async
:
15
# this test set takes ~8 seconds to run
poll
:
0
-
wait_for
:
port={{ http_port }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment