[metrics-bugs] #24713 [Metrics/Statistics]: Make pgTAP test work again

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 22 15:10:54 UTC 2017


#24713: Make pgTAP test work again
--------------------------------+------------------------------
 Reporter:  iwakeh              |          Owner:  metrics-team
     Type:  defect              |         Status:  new
 Priority:  Medium              |      Milestone:
Component:  Metrics/Statistics  |        Version:
 Severity:  Normal              |     Resolution:
 Keywords:                      |  Actual Points:
Parent ID:                      |         Points:
 Reviewer:                      |        Sponsor:
--------------------------------+------------------------------
Description changed by iwakeh:

Old description:

> The [https://gitweb.torproject.org/user/iwakeh/metrics-
> web.git/tree/src/test/sql/userstats/test-
> userstats.sql?h=tasks-24218-23761-2 userstats tests].  Some tweaks were
> already supplied (cf. the other commits on the mentioned branch), but the
> tests fail still.

New description:

 The [https://gitweb.torproject.org/user/iwakeh/metrics-
 web.git/tree/src/test/sql/userstats/test-
 userstats.sql?h=tasks-24218-23761-2 userstats tests].  Some tweaks were
 already supplied (cf. the other commits on the mentioned branch), but the
 tests fail still.

 Situation:
 Currently the tests fail b/c of the commented `SELECT merge();` calls.
 But these would prevent the tests from running at all b/c of `ERROR:
 relation "merged_part" already exists`.  There are approx. 25 calls to
 `merge()`.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24713#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the metrics-bugs mailing list