From b84a3c964b5b1bb8922c1ca1a7eb11e2786ee6c7 Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Wed, 27 Feb 2019 09:15:11 +0100 Subject: [PATCH] fix typos in warning --- .../deprecated/msg/platform-failures/platform-failures.tesh | 4 ++-- examples/s4u/platform-failures/s4u-platform-failures.tesh | 4 ++-- src/surf/sg_platf.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/deprecated/msg/platform-failures/platform-failures.tesh b/examples/deprecated/msg/platform-failures/platform-failures.tesh index 0dbaee5be9..9e36930074 100644 --- a/examples/deprecated/msg/platform-failures/platform-failures.tesh +++ b/examples/deprecated/msg/platform-failures/platform-failures.tesh @@ -5,7 +5,7 @@ p Testing a simple master/worker example application handling failures TCP cross ! output sort 19 $ $SG_TEST_EXENV ${bindir:=.}/platform-failures$EXEEXT --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml --cfg=path:${srcdir} --cfg=network/crosstraffic:0 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=surf_cpu.t:verbose > [ 0.000000] (0:maestro@) Cannot launch actor 'worker' on failed host 'Fafard' -> [ 0.000000] (0:maestro@) Deployment include some initially turned off Hosts, nevermind. +> [ 0.000000] (0:maestro@) Deployment includes some initially turned off Hosts ... nevermind. > [ 0.000000] (1:master@Tremblay) Got 5 workers and 20 tasks to process > [ 0.000000] (1:master@Tremblay) Send a message to worker-0 > [ 0.010309] (1:master@Tremblay) Send to worker-0 completed @@ -113,7 +113,7 @@ p Testing a simple master/worker example application handling failures. TCP cros ! output sort 19 $ $SG_TEST_EXENV ${bindir:=.}/platform-failures$EXEEXT --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml --cfg=path:${srcdir} "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=surf_cpu.t:verbose > [ 0.000000] (0:maestro@) Cannot launch actor 'worker' on failed host 'Fafard' -> [ 0.000000] (0:maestro@) Deployment include some initially turned off Hosts, nevermind. +> [ 0.000000] (0:maestro@) Deployment includes some initially turned off Hosts ... nevermind. > [ 0.000000] (1:master@Tremblay) Got 5 workers and 20 tasks to process > [ 0.000000] (1:master@Tremblay) Send a message to worker-0 > [ 0.000000] (2:worker@Tremblay) Waiting a message on worker-0 diff --git a/examples/s4u/platform-failures/s4u-platform-failures.tesh b/examples/s4u/platform-failures/s4u-platform-failures.tesh index cf6ff662a4..007a7c1cd3 100644 --- a/examples/s4u/platform-failures/s4u-platform-failures.tesh +++ b/examples/s4u/platform-failures/s4u-platform-failures.tesh @@ -5,7 +5,7 @@ p Testing a simple master/worker example application handling failures TCP cross ! output sort 19 $ $SG_TEST_EXENV ${bindir:=.}/s4u-platform-failures$EXEEXT --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir:=.}/s4u-platform-failures_d.xml --cfg=path:${srcdir} --cfg=network/crosstraffic:0 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=surf_cpu.t:verbose > [ 0.000000] (0:maestro@) Cannot launch actor 'worker' on failed host 'Fafard' -> [ 0.000000] (0:maestro@) Deployment include some initially turned off Hosts, nevermind. +> [ 0.000000] (0:maestro@) Deployment includes some initially turned off Hosts ... nevermind. > [ 0.000000] (1:master@Tremblay) Got 5 workers and 20 tasks to process > [ 0.000000] (1:master@Tremblay) Send a message to worker-0 > [ 0.010309] (1:master@Tremblay) Send to worker-0 completed @@ -113,7 +113,7 @@ p Testing a simple master/worker example application handling failures. TCP cros ! output sort 19 $ $SG_TEST_EXENV ${bindir:=.}/s4u-platform-failures$EXEEXT --log=xbt_cfg.thres:critical --log=no_loc ${platfdir}/small_platform_failures.xml ${srcdir:=.}/s4u-platform-failures_d.xml --cfg=path:${srcdir} "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=surf_cpu.t:verbose > [ 0.000000] (0:maestro@) Cannot launch actor 'worker' on failed host 'Fafard' -> [ 0.000000] (0:maestro@) Deployment include some initially turned off Hosts, nevermind. +> [ 0.000000] (0:maestro@) Deployment includes some initially turned off Hosts ... nevermind. > [ 0.000000] (1:master@Tremblay) Got 5 workers and 20 tasks to process > [ 0.000000] (1:master@Tremblay) Send a message to worker-0 > [ 0.000000] (2:worker@Tremblay) Waiting a message on worker-0 diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index 7d09fa5676..e3379c9faa 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -469,7 +469,7 @@ void sg_platf_new_actor(simgrid::kernel::routing::ActorCreationArgs* actor) actor = simgrid::kernel::actor::ActorImpl::create(arg->name.c_str(), std::move(code), nullptr, host, arg->properties.get(), nullptr); } catch (simgrid::HostFailureException const&) { - XBT_WARN("Deployment include some initially turned off Hosts, nevermind."); + XBT_WARN("Deployment includes some initially turned off Hosts ... nevermind."); } /* The actor creation will fail if the host is currently dead, but that's fine */ if (actor != nullptr) { -- 2.20.1