File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
main/java/com/iexec/worker/pubsub
test/java/com/iexec/worker/pubsub Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ private void requestNewSession() {
102102 * @throws InterruptedException
103103 */
104104 @ Scheduled (fixedDelay = 1000 )
105- private void listenToSessionRequestEvents () throws InterruptedException {
105+ private void listenToSessionRequestEventsInTheQueue () throws InterruptedException {
106106 while (true ) {
107107 // get the first request event or wait until available
108108 this .sessionRequestQueue .take ();
Original file line number Diff line number Diff line change 1+ package com .iexec .worker .pubsub ;
2+
3+ import org .junit .Before ;
4+ import org .mockito .InjectMocks ;
5+ import org .mockito .MockitoAnnotations ;
6+
7+ public class StompClientTests {
8+
9+ @ InjectMocks
10+ private StompClient stompClient ;
11+
12+ @ Before
13+ public void init () {
14+ MockitoAnnotations .initMocks (this );
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments