Commit Graph

4 Commits

Author SHA1 Message Date
moraaar a43cd95313 Fixed physics periodic tests on linux platform (#6881)
- Fixed path separators, now levels will be correctly opened in linux.
- Fixed casing of physics paths.
- Fixed casing of files inside levels Joints_HingeNoLimitsConstrained and RigidBody_KinematicModeWorks.
- Resaved a level that still used old test ids in its name but the python tests didn't match.

Linux:
     Start 21: AutomatedTesting::PhysicsTests_Periodic.periodic::TEST_RUN
8/11 Test #21: AutomatedTesting::PhysicsTests_Periodic.periodic::TEST_RUN ..................   Passed  609.87 sec

Windows:
     Start 21: AutomatedTesting::PhysicsTests_Periodic.periodic::TEST_RUN
8/13 Test #21: AutomatedTesting::PhysicsTests_Periodic.periodic::TEST_RUN .......................   Passed  810.59 sec

Signed-off-by: moraaar <moraaar@amazon.com>
2022-01-14 10:01:38 +00:00
amzn-sean 5bf7330f35 made some physX tests less flaky (#4632)
Joints_BallLeadFollowerCollide - changed the idle_wait to a wait_for_condition of the lead and follower colliding with a 10 second timeout. It was a 2 second timeout which is on the edge of the time from start to collision (~1.5sec).

Joints_HingeNoLimitsConstrained - now measures the angle the joint is at and waits for the follower to raise up and over the lead, or fail after a 10sec timeout. This use to 'catch' the follower joint in a force region and check the position of the follower to determine pass/fail.

Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
2021-10-13 12:50:11 +01:00
amzn-sean f84bd9829a remove some flackyness in physx automated tests (#4547)
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
2021-10-11 13:01:14 +01:00
ANT\aljanru c33dd26ff9 Renamed Levels
Signed-off-by: ANT\aljanru <aljanru@amazon.co.uk>
2021-09-05 22:18:00 +02:00