Skip to content

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
lkunelk committed Jul 1, 2022
1 parent 1204507 commit 31d88f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions soccer_pycontrol/src/soccer_pycontrol/test_walking.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def test_turn_in_place(self, walker: SoccerbotController):
assert walk_success

@pytest.mark.timeout(TEST_TIMEOUT)
@pytest.mark.flaky(reruns=1)
@pytest.mark.flaky(reruns=3)
def test_small_movement_0(self, walker: SoccerbotController):
walker.setPose(Transformation([0, 0, 0], [0.00000, 0, 0, 1]))
walker.ready()
Expand Down Expand Up @@ -278,7 +278,7 @@ def test_small_movement_4(self, walker: SoccerbotController):
assert walk_success

@pytest.mark.timeout(TEST_TIMEOUT)
@pytest.mark.flaky(reruns=1)
@pytest.mark.flaky(reruns=3)
def test_small_movement_5(self, walker: SoccerbotController):
walker.setPose(
Transformation(
Expand Down
2 changes: 1 addition & 1 deletion test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def processMsg(data: RobotState):
assert handle.get_num_connections() > 0
print("Connection looks okay")
# Validate that the robot moves towards the goal
for i in range(0, 20000000000000): # 100s timeout
for i in range(0, 300): # 100s timeout
print("dist: {}, cycle: {}".format(self.distance, i))
rospy.sleep(1)
if self.distance < DIST_TOLERANCE:
Expand Down

0 comments on commit 31d88f0

Please sign in to comment.