From 7f9a307a9d232445928d04f50add7c0b3995fe22 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Tue, 1 Oct 2024 06:19:16 -0700 Subject: [PATCH] TestClient.test_service_timestamps failing consistently. (#1364) Signed-off-by: Tomoya Fujita --- rclpy/test/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclpy/test/test_client.py b/rclpy/test/test_client.py index 33f2d443e..3fddf7629 100644 --- a/rclpy/test/test_client.py +++ b/rclpy/test/test_client.py @@ -141,7 +141,7 @@ def test_service_timestamps(self): for i in range(5): with srv.handle: result = srv.handle.service_take_request(srv.srv_type.Request) - if result is not None: + if result != (None, None): request, header = result self.assertTrue(header is not None) self.assertNotEqual(0, header.source_timestamp)