[dw-free] heisenbug in comment test suite
[commit: http://hg.dwscoalition.org/dw-free/rev/07d943a5c456]
http://bugs.dwscoalition.org/show_bug.cgi?id=2961
Clean out stale data, so it doesn't affect further tests in the test suite.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2961
Clean out stale data, so it doesn't affect further tests in the test suite.
Patch by
Files modified:
- cgi-bin/LJ/Test.pm
--------------------------------------------------------------------------------
diff -r 74a45a47496a -r 07d943a5c456 cgi-bin/LJ/Test.pm
--- a/cgi-bin/LJ/Test.pm Mon Aug 23 18:25:43 2010 +0800
+++ b/cgi-bin/LJ/Test.pm Mon Aug 23 18:29:45 2010 +0800
@@ -396,6 +396,8 @@ sub t_enter_comment {
die "Could not post comment: $err" unless $jtalkid;
+ delete $entry->{_loaded_comments};
+
return LJ::Comment->new($entryu, jtalkid => $jtalkid);
}
--------------------------------------------------------------------------------
