Commit 7ed1f8a9 authored by legoc's avatar legoc

Added canceljava in the tests

parent d267ad7b
......@@ -124,6 +124,7 @@ public class TestSelector {
apps.add("startpubjava");
apps.add("startnpubjava");
apps.add("startrepjava");
apps.add("canceljava");
apps.add("startsimplecpp");
apps.add("startstopcpp");
......@@ -131,6 +132,7 @@ public class TestSelector {
apps.add("startpubcpp");
apps.add("startnpubcpp");
apps.add("startrepcpp");
//apps.add("cancelcpp");
if (args.length < argsIndex + 1) {
......
......@@ -196,16 +196,16 @@ public class TestCancelApplication {
System.out.println("wait for requests");
Application.Request request = responder.receive();
cancel.join();
System.out.println("responder request " + request);
if (request != null) {
System.err.println("responder error: receive should return null");
}
request.terminate();
cancel.join();
}
} catch (RemoteException e) {
System.out.println("publisher error");
System.err.println("publisher error");
} catch (InterruptedException e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment