<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><small>Hi</small><br>
</div>
<blockquote
cite="mid:CAJbhyRFiSDUO6uyVXmbDLvi7fTUrwiCWKFAs3iB19cntta8COw@mail.gmail.com"
type="cite">
<pre wrap="">On 3 November 2012 21:11, Herbert König <a class="moz-txt-link-rfc2396E" href="mailto:herbertkoenig@gmx.net"><herbertkoenig@gmx.net></a> wrote:
</pre>
<small>Thanks, Herbert!
MCWorkingCopyTest>>testSimpleMerge looks interesting -
that's a test
that passed on CI. Would you mind poking it, maybe getting a
stack
trace or similar? What's making it fail?
frank<br>
</small></blockquote>
<br>
<small>funny thing if I restart (incl. update code) and run run this
test alone it passes.Running it a second time it fails again.
Confusing (at least for me).<br>
<br>
So I restarted again (slowish computer :-)) with an empty debuglog
and the test passed when running all tests. Running it alone a
second time it failed again.<br>
<br>
Is this expected?<br>
<br>
Deleting the debuglog was a bad idea, now I have none to send.
Error console didn't show up again.I continue poking.<br>
<br>
This is the test and how I checked: <br>
testSimpleMerge<br>
"<br>
<big>self run: #testSimpleMerge by me</big> to run it
singly<br>
"<br>
| mother base inst |<br>
0 halt. <big> "by me"</big><br>
inst := self mockInstanceA.<br>
base := self snapshot.<br>
self change: #one toReturn: 2.<br>
mother := self snapshot.<br>
self load: base.<br>
self change: #two toReturn: 3.<br>
self snapshot.<br>
self assert: inst one = 1. <big>"returns 2 on second run is
that OK?"</big><br>
self assert: inst two = 3.<br>
<br>
self merge: mother.<br>
self assert: inst one = 2.<br>
self assert: inst two = 3.</small><br>
<small><br>
Cheers,<br>
<br>
Herbert</small><br>
</body>
</html>