Skip to content

Commit

Permalink
added a sleep to the test execution to wait for ROS nodes to be online
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderBarbie committed Jun 21, 2024
1 parent b5c66cf commit 0fa6bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
working-directory: ./PiCar-X
run: |
i2c=/dev/i2c-0 docker compose -f docker-compose-dtp-inttest.yml up -d
docker exec picar-x-picarx-gazebo-control-1 /bin/bash -c "source ./install/setup.bash && python3 ./src/simulation/picarx_control/tests/steering_integration_test.py"
docker exec picar-x-picarx-gazebo-control-1 /bin/bash -c "source ./install/setup.bash && sleep 30; python3 ./src/simulation/picarx_control/tests/steering_integration_test.py"
- name: Remove running containers after tests
if: success() || failure()
Expand Down

0 comments on commit 0fa6bca

Please sign in to comment.