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

Investigate random tests failures #22

Open
zpbappi opened this issue Dec 14, 2018 · 6 comments
Open

Investigate random tests failures #22

zpbappi opened this issue Dec 14, 2018 · 6 comments

Comments

@zpbappi
Copy link
Member

zpbappi commented Dec 14, 2018

Tests don't fail in local development machines, even when they are running in parallel. However, often they fail in AppVeyor. My guess- Thread related issues. We don't have enough data to conclude. The failures are not even reproducible. Here are two such recent failures:

  1. https://ci.appveyor.com/project/VlingoNetOwner/vlingo-net-actors/builds/21000676/tests
  2. https://ci.appveyor.com/project/VlingoNetOwner/vlingo-net-actors/builds/21000810/tests
@tjaskula
Copy link
Contributor

This could be resolved with #29

@tjaskula
Copy link
Contributor

tjaskula commented Feb 22, 2019

Issue seems to be still there. Sometimes tests fails randomly or don't finish withing 1h execution time.

  1. https://ci.appveyor.com/project/VlingoNetOwner/vlingo-net-actors/builds/22567843/tests

@VaughnVernon
Copy link
Contributor

@tjaskula Tests should be rewritten to use AccessSafely.

@tjaskula
Copy link
Contributor

Fixed with new implementation and AccessSafely

@tjaskula
Copy link
Contributor

Reopening with some new cases

[xUnit.net 00:00:37.65]     Vlingo.Actors.Tests.Supervision.CommonSupervisionTest.TestPongSupervisor [FAIL]
686Test run in progress.                                                                                                                                                                                                                                                            X Vlingo.Actors.Tests.Supervision.CommonSupervisionTest.TestPongSupervisor [372ms]
687  Error Message:
688   Assert.Equal() Failure
689Expected: 11
690Actual:   10
691  Stack Trace:
692     at Vlingo.Actors.Tests.Supervision.CommonSupervisionTest.TestPongSupervisor() in /home/appveyor/projects/vlingo-net-actors/src/Vlingo.Actors.Tests/Supervision/CommonSupervisionTest.cs:line 95
693Test run in progress.......                                                                                                                                                                                                                                                          [xUnit.net 00:00:44.37]     Vlingo.Actors.Tests.CompletesActorProtocolTest.TestThatTimeOutOccursForSideEffects [FAIL]
694Test run in progress.                                                                                                                                                                                                                                                            X Vlingo.Actors.Tests.CompletesActorProtocolTest.TestThatTimeOutOccursForSideEffects [198ms]
695  Error Message:
696   Assert.NotEqual() Failure
697Expected: Not "Hello, Completes!"
698Actual:   "Hello, Completes!"
699  Stack Trace:
700     at Vlingo.Actors.Tests.CompletesActorProtocolTest.TestThatTimeOutOccursForSideEffects() in /home/appveyor/projects/vlingo-net-actors/src/Vlingo.Actors.Tests/CompletesActorProtocolTest.cs:line 88

@tjaskula tjaskula reopened this Nov 13, 2019
@tjaskula
Copy link
Contributor

Also freezes TestPublicRootDefaultParentSupervisor

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

No branches or pull requests

3 participants