Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update comments.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 15 Feb 2021 22:00:45 +0000 (23:00 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 16 Feb 2021 22:54:31 +0000 (23:54 +0100)
teshsuite/s4u/activity-lifecycle/testing_test-wait.cpp

index 9dd62c0..421ff15 100644 (file)
@@ -300,15 +300,15 @@ TEST_CASE("Activity test/wait: tests currently failing", "[.][failing]")
   XBT_INFO("#####[ launch next failing test ]#####");
 
   // with tester_wait<0>
-  // -> wait_for() should return immediately and signal a timeout (timeout == 0)
+  // -> actor should not be killed by TimeoutException
   RUN_SECTION("exec: actor failure and wait<0> / wait",
               test_failure_actor<ExecPtr, create_exec, tester_wait<0>, waiter_wait>);
-  // -> wait_for() should return immediately and signal a timeout (timeout == 0)
+  // -> actor should not be killed by TimeoutException
   RUN_SECTION("exec: host failure and wait<0> / wait",
               test_failure_host<ExecPtr, create_exec, tester_wait<0>, waiter_wait>);
 
   // with tester_wait<1>
-  // -> second call to wait_for() should wait for timeuout and not return immediately
+  // -> second call to wait_for() should wait for timeout and not return immediately
   RUN_SECTION("exec: run and wait<1> many", test_basic<ExecPtr, create_exec, tester_wait<1>>);
   // -> second call to wait_for() should report a failure, and not a timeout
   RUN_SECTION("exec: actor failure and wait<1> / sleep",