mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-02 19:47:19 +00:00
bug fix: logging test may fail if some config fails (#1695)
This commit is contained in:
parent
a52f52a1b5
commit
5ca69da8e5
@ -88,7 +88,7 @@ def test_two_agents_logging(db_connection):
|
|||||||
cur.execute(CHAT_COMPLETIONS_QUERY)
|
cur.execute(CHAT_COMPLETIONS_QUERY)
|
||||||
rows = cur.fetchall()
|
rows = cur.fetchall()
|
||||||
|
|
||||||
assert len(rows) == 3
|
assert len(rows) >= 3 # some config may fail
|
||||||
session_id = rows[0]["session_id"]
|
session_id = rows[0]["session_id"]
|
||||||
|
|
||||||
for idx, row in enumerate(rows):
|
for idx, row in enumerate(rows):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user