From 382f91c95915d37545a2b1f3ae76f2ddbe6d3e6c Mon Sep 17 00:00:00 2001 From: Val Brodsky Date: Mon, 12 Aug 2024 13:47:12 -0700 Subject: [PATCH] Attempt to fix flaky test_filtering test --- libs/labelbox/tests/integration/test_filtering.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/labelbox/tests/integration/test_filtering.py b/libs/labelbox/tests/integration/test_filtering.py index 082809935..fc149d3d4 100644 --- a/libs/labelbox/tests/integration/test_filtering.py +++ b/libs/labelbox/tests/integration/test_filtering.py @@ -30,7 +30,8 @@ def test_where(client, project_to_test_where): p_b_name = p_b.name def get(where=None): - date_where = Project.created_at >= p_a.created_at + date_where = Project.created_at >= min(p_a.created_at, p_b.created_at, + p_c.created_at) where = date_where if where is None else where & date_where return {p.uid for p in client.get_projects(where)}