Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing flaky tests #517

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

lucianoviana
Copy link
Contributor

No description provided.

{
public Statement apply(final Statement base, final Description description)
{
return new FailOnTimeout(base, LONG_TEST_TIMEOUT_IN_MS)

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
FailOnTimeout.FailOnTimeout
should be avoided because it has been deprecated.
{
public Statement apply(final Statement base, final Description description)
{
return new FailOnTimeout(base, LONG_TEST_TIMEOUT_IN_MS)

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
FailOnTimeout.FailOnTimeout
should be avoided because it has been deprecated.

return acceptor
.receivedMessage("2")
.anyMatch((message) -> msgSeqNo == Integer.parseInt(message.get(Constants.MSG_SEQ_NUM)));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note test

Potential uncaught 'java.lang.NumberFormatException'.
@lucianoviana lucianoviana force-pushed the fixing-flaky-tests branch 4 times, most recently from eb2e94d to 7b08e9d Compare October 7, 2024 10:21
 - using try-with-resources statement to initiate a FixConnection
 - returning workCount and trySend result to improve debugging
- SlowConsumerTest.sendMessage call is now protected against back pressure as it's now wrapped around a awaitSend call.
-making PersistentSequenceNumberGatewayToGatewaySystemTest deterministic
-fixing BinaryEntryPointClient call to jsonPrint when FIX_TEST is enabled
-cancelOnDisconnect test was using wrong assumption on logout time
-improving MessageBasedAcceptorSystemTest
-improving SlowConsumerTest
-fixing a typo in testing code
-checkstyle fix
-ignoring socket closed exception when unexpectedly
-adding more details when a socket disconnects unexpectedly
…mes it receives D replay before realtime msg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant