Skip to content

Commit

Permalink
Pick and agent with smaller evidence footprint
Browse files Browse the repository at this point in the history
kkaris committed Nov 28, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent a3e6984 commit 7ae2a5e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions indra/tests/test_db_rest.py
Original file line number Diff line number Diff line change
@@ -57,10 +57,12 @@ def test_bigger_request():


@pytest.mark.nonpublic
def test_timeout_no_persist_nfkb():
resp = dbr.get_statements(agents=["NFkappaB@FPLX"], persist=False, timeout=0)
def test_timeout_no_persist_gcg():
resp = dbr.get_statements(agents=["GCG"],
persist=False,
timeout=0,)
assert resp.is_working(), "Lookup resolved too fast."
resp.wait_until_done(70)
resp.wait_until_done(40) # typically 20-30 s when slow/uncached
assert len(resp.statements) > 0.9*EXPECTED_BATCH_SIZE, len(resp.statements)


0 comments on commit 7ae2a5e

Please sign in to comment.