Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.core
Commits
2903e928
Commit
2903e928
authored
Apr 25, 2018
by
Samuel GAIST
Browse files
[tests][worker] Fix queue data creation
parent
6d9b35e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/core/test/test_worker.py
View file @
2903e928
...
...
@@ -145,10 +145,10 @@ class ControllerProcess(multiprocessing.Process):
self
.
queue
.
put
(
'STARTED'
)
def
onWorkerReady
(
name
):
self
.
queue
.
put
(
'READY '
+
name
.
decode
(
'utf-8'
)
)
self
.
queue
.
put
(
'READY
%s
'
%
name
)
def
onWorkerGone
(
name
):
self
.
queue
.
put
(
'GONE '
+
name
.
decode
(
'utf-8'
)
)
self
.
queue
.
put
(
'GONE
%s
'
%
name
)
self
.
controller
=
WorkerController
(
'127.0.0.1'
,
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment