[QFJ-293] running the acceptance tests will fail using any slow MessageStore Created: 01/Feb/08  Updated: 15/Nov/12  Resolved: 02/Feb/08

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

Type: Improvement Priority: Default
Reporter: Wolfgang Grinfeld Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

Windows XP - dual core Intel



 Description   

In case the acceptance tests are not run with a memoryStore and the messageStore used takes up time to update the sequence numbers (like by using a remote JDBC connection - JdbcStore), the acceptance tests are likely to fail on

6_SendTestRequest.def

This is because the heartbeat gets sent too early to the server.

Possible workaround until a better solution is created:
Slow down the messages in InitiateMessageStep.run()



 Comments   
Comment by Steve Bate [ 01/Feb/08 ]

You can use the "atest.heartbeat" system property to override the heartbeat interval specified in the test. For example, in 6_SendTestRequest, the heartbeat interval is 6 seconds. You could pass -Datest.heartbeat=30 to cause the heartbeat to be sent at 30 seconds instead. Does this solve your issue?

Generated at Mon May 13 23:38:55 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.