> [Tremblay:test_launcher:(1) 20.000000] [msg_test/INFO] Turn Jupiter off
> [Tremblay:test_launcher:(1) 20.000000] [msg_test/INFO] Test 4 is ok. (number of Process : 2, it should be 1 or 2 if RX has not been satisfied). An exception is raised when we turn off a node that has a process sleeping
> [Tremblay:test_launcher:(1) 20.000000] [msg_test/INFO] Test done. See you!
-> [Tremblay:commRX:(2) 20.000000] [msg_test/INFO] Receive message: TRANSFER_FAILURE
-> [Tremblay:commRX:(2) 20.000000] [msg_test/INFO] RX Done
-> [20.000000] [msg_test/INFO] Simulation time 20
+> [Tremblay:commRX:(2) 25.033047] [msg_test/INFO] Receive message: COMM
+> [Tremblay:commRX:(2) 25.033047] [msg_test/INFO] RX Done
+> [25.033047] [msg_test/INFO] Simulation time 25.033
$ ${bindir}/host_on_off_processes ${platfdir}/small_platform.xml 5 --log=no_loc
> [Tremblay:test_launcher:(1) 0.000000] [msg_test/INFO] Test 5 (turn off dest during a communication : Create a Process/task to make a communication between Tremblay and Jupiter and turn off Jupiter during the communication
bool recv_done = false;
simgrid::s4u::ActorPtr sender = simgrid::s4u::Actor::create("sender", all_hosts[1], [&dsend_done]() {
- //assert_exit(false, 2);
+ assert_exit(false, 2);
char* payload = xbt_strdup("toto");
simgrid::s4u::this_actor::sleep_for(2);
simgrid::s4u::Mailbox::by_name("mb")->put_init(payload, 1000)->detach();
});
simgrid::s4u::Actor::create("receiver", all_hosts[2], [&recv_done]() {
- //assert_exit(false, 3);
+ assert_exit(false, 3);
void* payload = simgrid::s4u::Mailbox::by_name("mb")->get();
xbt_free(payload);
recv_done = true;
run_test("comm", test_comm);
run_test("comm dsend and quit (put before get)", test_comm_dsend_and_quit_put_before_get);
- // run_test("comm dsend and quit (get before put)", test_comm_dsend_and_quit_get_before_put); FAILING
+ run_test("comm dsend and quit (get before put)", test_comm_dsend_and_quit_get_before_put);
run_test("comm kill sender", test_comm_killsend);
//run_test("comm recv and kill", test_host_off_while_receive);