Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

#12308 closed defect (duplicate)

trac.wiki.tests.macros failures with postgresql 9.3 on Windows

Reported by: Christian Boos Owned by:
Priority: normal Milestone:
Component: wiki system Version: 1.0dev
Severity: minor Keywords: postgres appveyor
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

======================================================================
FAIL: test (trac.wiki.tests.formatter.WikiTestCase)
Test RecentChanges, group option
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\projects\trac\trac\wiki\tests\formatter.py", line 230, in test
    % (msg, self.file, self.line, self.title, formatter.flavor))
AssertionError: 
========== expected: ==========
<p>
</p><div><h3>Jan 5, 2016</h3><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li><a href="/wiki/WikiStart">WikiStart</a>
</li></ul></div><p>
</p><div><h3>Jan 5, 2016</h3><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li><a href="/wiki/WikiStart">WikiStart</a>
</li></ul></div><p>
</p><div><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li><a href="/wiki/WikiStart">WikiStart</a>
</li></ul></div><p>
</p>
<div><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiMid">WikiMid</a>
</li></ul></div><p>
</p><div><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li><a href="/wiki/WikiStart">WikiStart</a>
</li></ul></div><p>
</p><div><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li></ul></div><p>
</p>


========== actual: ==========
<p>
</p><div><h3>Jan 5, 2016</h3><ul><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiStart">WikiStart</a>
</li></ul></div><p>
</p><div><h3>Jan 5, 2016</h3><ul><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiStart">WikiStart</a>
</li></ul></div><p>
</p><div><ul><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiStart">WikiStart</a>
</li></ul></div><p>
</p><div><ul><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li
><a href="/wiki/WikiEnd">WikiEnd</a>
</li></ul></div><p>
</p><div><ul><li><a href="/wiki/WikiMid">WikiMid</a>
</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
</li><li><a href="/wiki/WikiStart">WikiStart</a>
</li></ul></div><p>
</p><div><ul><li><a href="/wiki/WikiMid">WikiMid</a>
</li></ul></div><p>
</p>


========== wiki: ==========
u'
[[RecentChanges()]]
[[RecentChanges(group=date)]]
[[RecentChanges(group=none)]]
[[RecentChanges(,2,group=none)]]
[[RecentChanges(Wiki,group=none)]]
[[RecentChanges(Wiki,1,group=none)]]
'
========== diff: ==========
--- expected
+++ actual
@@ -1,24 +1,24 @@
 <p>
-</p><div><h3>Jan 5, 2016</h3><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
-</li><li><a href="/wiki/WikiMid">WikiMid</a>
+</p><div><h3>Jan 5, 2016</h3><ul><li><a href="/wiki/WikiMid">WikiMid</a>
+</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
 </li><li><a href="/wiki/WikiStart">WikiStart</a>
 </li></ul></div><p>
-</p><div><h3>Jan 5, 2016</h3><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
-</li><li>
<a href="/wiki/WikiMid">WikiMid</a>
+</p><div><h3>Jan 5, 2016</h3><ul><li><a href="/wiki/WikiMid">WikiMid</a>
+</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
 </li><li><a href="/wiki/WikiStart">WikiStart</a>
 </li></ul></div><p>
-</p><div><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
-</li><li><a href="/wiki/WikiMid">WikiMid</a>
+</p><div><ul><li><a href="/wiki/WikiMid">WikiMid</a>
+</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
 </li><li><a href="/wiki/WikiStart">WikiStart</a>
 </li></ul></div><p>
-</p><div><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
-</li><li><a href="/wiki/WikiMid">WikiMid</a>
+</p><div><ul><li><a href="/wiki/WikiMid">WikiMid</a>
+</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
 </li></ul></div><p>
-</p><div><ul><li><a href="/wiki/WikiEnd">WikiEnd</a>
-</li><li><a href="/wiki/WikiMid">WikiMid</a>
+</p><div><ul><li><a href="/wiki/WikiMid">WikiMid</a>
+</li><li><a href="/wiki/WikiEnd">WikiEnd</a>
 </li><li><a href="/wiki/WikiStart">WikiStart</a>
 </li></ul></div><p>
-</p><div><u
l><li><a href="/wiki/WikiEnd">WikiEnd</a>
+</p><div><ul><li><a href="/wiki/WikiMid">WikiMid</a>
 </li></uSKIP: validation of XHTML output in functional tests (no lxml installed)
SKIP: tracopt/versioncontrol/svn/tests/svn_fs.py (no svn bindings)
l></div><p>
 </p>
 


C:\projects\trac\trac\wiki\tests\macros.py:1: "RecentChanges, group option" (default flavor)

----------------------------------------------------------------------

(from AppVeyor build trunk.42)

Probably some ambiguity due to dates of creation of the Wiki pages being identical.

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 9 years ago

Keywords: appveyor added
Milestone: next-stable-1.0.x
Resolution: duplicate
Status: assignedclosed

Seems to have been fixed by [14480] as well: with increased time resolution, there's no longer a risk of having a wrong sort order with the RecentChanges macro.

Closing as duplicate of #12311.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.