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

Non deterministic tests #1

Open
jxson opened this issue May 27, 2015 · 1 comment
Open

Non deterministic tests #1

jxson opened this issue May 27, 2015 · 1 comment

Comments

@jxson
Copy link
Contributor

jxson commented May 27, 2015

I noticed that I get an occasional test failure where stderr doesn't seem to be captured:

$ go test -v github.com/monopole/mdrip
=== RUN TestLex
--- PASS: TestLex (0.00s)
=== RUN TestRunnerWithNothing
All done, no errors triggered.
--- PASS: TestRunnerWithNothing (0.00s)
=== RUN TestRunnerWithGoodStuff
Running foo (1/3) from iAmFileName
Running foo (2/3) from iAmFileName
Running foo (3/3) from iAmFileName
All done, no errors triggered.
--- PASS: TestRunnerWithGoodStuff (0.01s)
=== RUN TestWithBadStuff1
Running foo (1/1) from iAmFileName
--- PASS: TestWithBadStuff1 (0.00s)
=== RUN TestWithBadStuff2
Running foo (1/4) from iAmFileName
Running foo (2/4) from iAmFileName
Running foo (3/4) from iAmFileName
--- FAIL: TestWithBadStuff2 (0.01s)
        runner_test.go:34: message got

            want
                bash: line 9: lochNessMonster: command not found
FAIL
exit status 1
FAIL    github.com/monopole/mdrip   0.040s
@jxson
Copy link
Contributor Author

jxson commented May 27, 2015

It seems to always fail on travis: https://travis-ci.org/jxson/mdrip/builds/64316805

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