Ignore:
Timestamp:
10/01/13 12:02:41 (11 years ago)
Author:
stoda
Message:

TODO: delete in supervisor
check the code

Location:
branches/supervisor/src/test/java/omq/test
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/supervisor/src/test/java/omq/test/lock/SleepTest.java

    r91 r92  
    2020                env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1");
    2121                env.setProperty(ParameterQueue.RABBIT_PORT, "5672");
    22                 env.setProperty(ParameterQueue.NUM_THREADS, "2");
     22                env.setProperty(ParameterQueue.NUM_THREADS, "1");
    2323
    24                 SleepImpl sleep = new SleepImpl();
     24                for (int i = 0; i < 4; i++) {
     25                        Broker broker = new Broker(env);
     26                        broker.bind("sleep", new SleepImpl());
     27                }
    2528
    26                 Broker broker = new Broker(env);
    27                 broker.bind("sleep", sleep);
    2829        }
    2930
Note: See TracChangeset for help on using the changeset viewer.