Reviewed: https://review.opencontrail.org/20817 Committed: http://github.org/Juniper/contrail-controller/commit/6e986c452690adc53f5bf4dcb63583c85c226a69 Submitter: Zuul Branch: master
commit 6e986c452690adc53f5bf4dcb63583c85c226a69 Author: Ananth Suryanarayana <email address hidden> Date: Tue May 31 21:43:41 2016 -0700
Provide TaskFire functionality to fire a function off a given task. It can be as simple as a single line call with optional one (or none) user arguments.
TaskFire(boost::bind(&GracefulRestartTest::GRTimerCallback, this, _1), pc, "bgp::Config");
This calls GRTimerCallback() off bgp::Config task and returns _after_ the user function returns.
Also add an ability to pause a test after gtest failure.
Change-Id: I4f9b9fd368317c29849ef67563269cb1007f08e2 Closes-Bug: 1587725
Reviewed: https:/ /review. opencontrail. org/20817 github. org/Juniper/ contrail- controller/ commit/ 6e986c452690adc 53f5bf4dcb63583 c85c226a69
Committed: http://
Submitter: Zuul
Branch: master
commit 6e986c452690adc 53f5bf4dcb63583 c85c226a69
Author: Ananth Suryanarayana <email address hidden>
Date: Tue May 31 21:43:41 2016 -0700
Provide TaskFire functionality to fire a function off a given task.
It can be as simple as a single line call with optional one (or none)
user arguments.
TaskFire( boost:: bind(&GracefulR estartTest: :GRTimerCallbac k, this, _1),
pc, "bgp::Config");
This calls GRTimerCallback() off bgp::Config task and returns _after_
the user function returns.
Also add an ability to pause a test after gtest failure.
Change-Id: I4f9b9fd368317c 29849ef67563269 cb1007f08e2
Closes-Bug: 1587725