File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,8 @@ struct ComplexReactiveTree : testing::Test
61
61
62
62
TEST_F (ComplexReactiveTree, CorrectHaltTiming)
63
63
{
64
-
65
64
auto t0 = std::chrono::high_resolution_clock::now ();
66
65
67
-
68
66
condition_1.setBoolean (false );
69
67
condition_2.setBoolean (false );
70
68
@@ -84,7 +82,6 @@ TEST_F(ComplexReactiveTree, CorrectHaltTiming)
84
82
85
83
state = root.executeTick ();
86
84
87
-
88
85
ASSERT_EQ (NodeStatus::RUNNING, state);
89
86
ASSERT_EQ (NodeStatus::SUCCESS, fal_1.status ());
90
87
ASSERT_EQ (NodeStatus::SUCCESS, condition_1.status ());
@@ -93,17 +90,13 @@ TEST_F(ComplexReactiveTree, CorrectHaltTiming)
93
90
ASSERT_EQ (NodeStatus::FAILURE, condition_2.status ());
94
91
ASSERT_EQ (NodeStatus::RUNNING, action_2.status ());
95
92
96
-
97
93
std::this_thread::sleep_for (milliseconds (300 ));
98
94
condition_1.setBoolean (false ); // condition 1 set to false"
99
95
100
96
state = root.executeTick ();
101
97
102
-
103
98
std::this_thread::sleep_for (milliseconds (300 ));
104
99
105
100
ASSERT_TRUE (action_1.startTimePoint ().time_since_epoch ().count () >
106
101
action_2.stopTimePoint ().time_since_epoch ().count () );
107
-
108
-
109
102
}
You can’t perform that action at this time.
0 commit comments