Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initial versio of the fault scenario test
authorFabien Chaix <chaix@ics.forth.gr>
Thu, 17 Mar 2022 08:56:11 +0000 (10:56 +0200)
committerFabien Chaix <chaix@ics.forth.gr>
Thu, 19 May 2022 07:27:10 +0000 (10:27 +0300)
src/kernel/EngineImpl.cpp
teshsuite/s4u/CMakeLists.txt

index 4217481..58dccdb 100644 (file)
@@ -585,6 +585,8 @@ double EngineImpl::solve(double max_date) const
     XBT_DEBUG("Updating models (min = %g, NOW = %g, next_event_date = %g)", time_delta, now_, next_event_date);
 
     while (auto* event = profile::future_evt_set.pop_leq(next_event_date, &value, &resource)) {
+      if(value<0)
+             continue;
       if (resource->is_used() || (watched_hosts().find(resource->get_cname()) != watched_hosts().end())) {
         time_delta = next_event_date - now_;
         XBT_DEBUG("This event invalidates the next_occurring_event() computation of models. Next event set to %f",
index ac3d01a..cd6127c 100644 (file)
@@ -6,7 +6,7 @@ endforeach()
 
 foreach(x actor actor-autorestart actor-suspend
         activity-lifecycle
-        comm-get-sender comm-pt2pt wait-all-for wait-any-for
+        comm-get-sender comm-pt2pt comm-fault-scenarios wait-all-for wait-any-for
         cloud-interrupt-migration cloud-two-execs
        monkey-masterworkers monkey-semaphore
         concurrent_rw