You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql="SELECT * FROM PilotsHistorySummary ORDER BY GridSite, GridType, Status, VO;"
252
+
sql="SELECT * FROM PilotsHistorySummary ORDER BY GridSite, DestinationSite, Status, VO;"
253
253
result=PilotAgentsDB()._query(sql)
254
254
assertresult["OK"], result["Message"]
255
255
values=result["Value"][1]
256
256
assertlen(values) ==5, "Expected 5 record in the summary"
257
257
# Check it corresponds to the basic "GROUP BY" query
258
-
sql="SELECT GridSite, GridType, Status, VO, COUNT(*) FROM PilotAgents GROUP BY GridSite, GridType, Status, VO ORDER BY GridSite, Status, VO;"
258
+
sql="SELECT GridSite, DestinationSite, Status, VO, COUNT(*) FROM PilotAgents GROUP BY GridSite, DestinationSite, Status, VO ORDER BY GridSite, DestinationSite, Status, VO;"
assertresult_grouped["Value"] ==result_summary["Value"], "Summary and grouped query results differ"
@@ -274,10 +274,10 @@ def test_summarySnapshot():
274
274
res=paDB._update(sql)
275
275
assertres["OK"], res["Message"]
276
276
# Check it corresponds to the basic "GROUP BY" query
277
-
sql="SELECT GridSite, GridType, Status, VO, COUNT(*) FROM PilotAgents GROUP BY GridSite, GridType, Status, VO ORDER BY GridSite, Status, VO;"
277
+
sql="SELECT GridSite, DestinationSite, Status, VO, COUNT(*) FROM PilotAgents GROUP BY GridSite, DestinationSite, Status, VO ORDER BY GridSite, DestinationSite, Status, VO;"
0 commit comments