Skip to content

Commit

Permalink
Update tests/api/controllers/connector/connector.c
Browse files Browse the repository at this point in the history
Co-Authored-By: David Mansolino <David.Mansolino@cyberbotics.com>
  • Loading branch information
omichel and DavidMansolino authored Feb 28, 2020
1 parent 2847ff5 commit 252cc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/controllers/connector/connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main(int argc, char **argv) {
wb_connector_enable_presence(front_connector, TIME_STEP);

while (wb_robot_step(TIME_STEP) != -1) {
if (t == 34 * TIME_STEP) { // fail with 34
if (t == 34 * TIME_STEP) { // fail from 34 because the modules are now sleeping.
ts_assert_int_equal(wb_connector_get_presence(rear_connector), 1, "connector presence should be 1");
wb_connector_unlock(front_connector);
wb_connector_unlock(rear_connector);
Expand Down

0 comments on commit 252cc0a

Please sign in to comment.