Skip to content

Commit 5eb500c

Browse files
authored
Attempt to fix flaky test_filtering test (#1768)
1 parent ca3f880 commit 5eb500c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/labelbox/tests/integration/test_filtering.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def test_where(client, project_to_test_where):
3030
p_b_name = p_b.name
3131

3232
def get(where=None):
33-
date_where = Project.created_at >= p_a.created_at
33+
date_where = Project.created_at >= min(p_a.created_at, p_b.created_at,
34+
p_c.created_at)
3435
where = date_where if where is None else where & date_where
3536
return {p.uid for p in client.get_projects(where)}
3637

0 commit comments

Comments
 (0)