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

Intermittent error running tests #126

Open
tomfbiz opened this issue May 24, 2017 · 0 comments
Open

Intermittent error running tests #126

tomfbiz opened this issue May 24, 2017 · 0 comments

Comments

@tomfbiz
Copy link

tomfbiz commented May 24, 2017

While creating PR #125, travis failed : https://travis-ci.org/trenpixster/addict/builds/235564200

  1) test it injects the encrypted_password attribute with custom hasher (InjectHashTest)
     test/interactors/inject_hash_test.exs:11
     Assertion with == failed
     code: encrypted_password == "dumb-g0g0h0lm3s-password"
     lhs:  "$pbkdf2-sha512$100000$f0Q0GlXWDbWortkFb3TXgw$mUvh4Y/w57tqD5wDEvRIA0DcCjeKPVDK66375ILUy175iPL6dK6aaBMYgxLqeFmzMHj1qDeODRpf.i3lihYJfw"
     rhs:  "dumb-g0g0h0lm3s-password"
     stacktrace:
       test/interactors/inject_hash_test.exs:15
............
Finished in 4.5 seconds (2.0s on load, 2.5s on tests)
29 tests, 1 failure
Randomized with seed 8208

After committing a trivial change, the error went away.

I can't repro the issue locally -- I tried running mix test --seed 8208, but I did not receive any failures.

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

1 participant