-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Eliminate or fix racy unit tests #3786
Comments
…code_messages async
…d_and_decode_messages async" This reverts commit 72fce5c.
…g IPAddress.Loopback" This reverts commit baf6fcb.
…ng_recovery akkadotnet#3786 - fix PersistentActor_should_be_able_to_persist_events_that_happen_during_recovery by porting akka/akka#22232
…ng_recovery (#3805) * fix PersistentActor_should_be_able_to_persist_events_that_happen_during_recovery #3786 - fix PersistentActor_should_be_able_to_persist_events_that_happen_during_recovery by porting akka/akka#22232 * force PersistentActorRecoverySpec to use new SteppingMemoryJournal instance each time
* #3786 - working on fixing AtLeastOnceDeliveryCrashSpec * fixed issue with SnapshotDirectoryFailureSpec.LocalSnapshotStore_configured_with_a_failing_directory * fixed Akka.Persistence.Tests.Actor_PipeTo_should_not_be_delayed_by_async_receive * looks like issue might be related to parallel execution and thread blocking * added logging for AtLeastOnceDelivery_must_tolerate_and_recover_from_random_failures
…to use same Akka.Remote port at the same time
Important detail about why
Looks like a racy issue with looking up temporary actors when the actor on the other side of the network sets up a reply - might need to take a look at the |
…3806) * akkadotnet#3786 - working on fixing AtLeastOnceDeliveryCrashSpec * fixed issue with SnapshotDirectoryFailureSpec.LocalSnapshotStore_configured_with_a_failing_directory * fixed Akka.Persistence.Tests.Actor_PipeTo_should_not_be_delayed_by_async_receive * looks like issue might be related to parallel execution and thread blocking * added logging for AtLeastOnceDelivery_must_tolerate_and_recover_from_random_failures
…rt at the same time (akkadotnet#3817) * part of akkadotnet#3786 - fixed issue with multiple specs all trying to use same Akka.Remote port at the same time * updated specs to use Collections XUnit attribute instead * use port 0 in all specs by default
cc @IgorFedchenko @nagytech - so here's the list of the tests with the highest flip rates: https://dev.azure.com/dotnet/Akka.NET/_test/analytics?definitionId=84&contextType=build I'd recommend adding a comment to here and say which test you're working on. Some tests might just be crappy / bad tests that need to be deleted or disabled. Others might reveal a real underlying problem with the infrastructure and take some time to debug. Others might be simple fixes (i.e. using |
Working on |
…h for shard distributions
This reverts commit f925922.
This reverts commit 05d20a4.
* per #3786 - skipping racy FlowDelaySpecs * disabled racy FlowIdleInjectSpecs * Revert "per #3786 - skipping racy FlowDelaySpecs" This reverts commit f925922. * Revert "disabled racy FlowIdleInjectSpecs" This reverts commit 23a673c. * Revert "Revert "per #3786 - skipping racy FlowDelaySpecs"" This reverts commit 05d20a4. * Revert "Revert "disabled racy FlowIdleInjectSpecs"" This reverts commit 8f92a83. * disable IdleTimeout_must_fail_if_time_between_elements_is_too_large * marking other worst offenders from Akka.Streams as skipped * marking FlowDelaySpec.A_Delay_must_add_delay_to_initialDelay_if_exists_upstream as skipped * disabled ActorPublisher_should_be_able_to_define_a_subscription_timeout_after_which_it_should_shut_down * skipped Akka.Streams.Tests.Dsl.FlowDelaySpec.A_Delay_must_properly_delay_according_to_buffer_size * disabled more racy specs * disabling more racy specs
Looking good now - had several big PRs run the full test suite without any racy issues. Going to mark this as closed for the time being. |
Version: Akka.NET v1.3.13 or later.
The time has come, once again, to clean up the mess that impedes our work on Akka.NET as a result of some racy tests.
Try to fix them, but failing that - mark them as
Skipped
inside XUnit.The text was updated successfully, but these errors were encountered: