diff --git a/lnt/server/ui/api.py b/lnt/server/ui/api.py index 58cb1ade..a7131b30 100644 --- a/lnt/server/ui/api.py +++ b/lnt/server/ui/api.py @@ -438,6 +438,7 @@ def get(machine_id, test_id, field_index): q = session.query(field.column, ts.Order.llvm_project_revision, ts.Run.start_time, ts.Run.id) \ + .select_from(ts.Sample) \ .join(ts.Run) \ .join(ts.Order) \ .filter(ts.Run.machine_id == machine.id) \ diff --git a/tests/server/ui/test_api.py b/tests/server/ui/test_api.py index 325f0677..93e400c4 100644 --- a/tests/server/ui/test_api.py +++ b/tests/server/ui/test_api.py @@ -1,5 +1,3 @@ -# XFAIL: TODO-FIXME - # Check that the LNT REST JSON API is working. # create temporary instance # RUN: rm -rf %t.instance