Fix purge_user_activity.pg live test

Bug #1640157 reported by Chris Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned

Bug Description

The purge_user_activity.pg test inserts rows into actor.usr_activity
in a random date order, but the changes in bug 1570909 created a trigger
that overwrites the previous entry for a transient type, causing the
test to fail. We reorder the usr_activity rows so that the most recent
row will be in place.

Branch on the way

Evergreen master
OpenSRF 2.4.1
PostgreSQL 9.3
Ubuntu 14.04 LTS

Tags: pullrequest
Revision history for this message
Chris Sharp (chrissharp123) wrote :
tags: added: pullrequest
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Fixes the test for me on Ubuntu 16.04 Xenial Xerus, so committing.

Thanks, Chris!

Changed in evergreen:
milestone: none → 2.next
status: New → Fix Committed
Changed in evergreen:
milestone: 2.next → 2.12-beta
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.