[QFJ-799] SessionTest : Assertion failure as a side effect of previous sessions not being closed Created: 05/Jul/14  Updated: 02/Apr/15  Resolved: 08/Jul/14

Status: Closed
Project: QuickFIX/J
Component/s: Build
Affects Version/s: None
Fix Version/s: 1.6.0

Type: Other Priority: Default
Reporter: ManuReno Assignee: ManuReno
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows 7-SP1, JDK 1.6.0_45, Eclipse Luna, Maven 3.2.2



 Description   

SessionTest test cases fail in my environment (assertion failure on sequence number not being as expected)
This looks like the consequence of previous session file store not being deleted prior to running the test case. These file store can't be deleted unless the previous session used for test has been closed.
Since the session is a Closeable, I guess it should be closed at the end of each test case: by doing so tests run successfully every time.



 Comments   
Comment by ManuReno [ 05/Jul/14 ]

A pull request is available for this Jira, please let me know.

Comment by Christoph John [ 08/Jul/14 ]

I have merged the pull request. Thank you.

Generated at Sat Nov 23 07:27:03 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.