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

Simpletests for drupal core are failing in travis even if all tests pass. #60

Closed
yanniboi opened this issue Dec 8, 2015 · 2 comments
Closed

Comments

@yanniboi
Copy link
Contributor

yanniboi commented Dec 8, 2015

I am running all drupal core simpletests with my module enabled, and I was really confused to see travis failing my build even though all the tests were passing. It turns out that the regex is catching some of the drupal test descriptions:

egrep -i "([1-9]+ fail)|(Fatal error)|([1-9]+ exception)" /tmp/simpletest-result.txt && exit 1
UserLoginTest.php  Drupal\user\Tests\UserLoginTest
Raw "There have been more than 3 failed login attempts for this account."

"[1-9]+ fail" catches "3 failed"

@yanniboi
Copy link
Contributor Author

yanniboi commented Dec 8, 2015

My potential solution: a37901c

@LionsAd
Copy link
Owner

LionsAd commented Dec 12, 2015

#61 fixed this and will be in 1.5.0.

@LionsAd LionsAd closed this as completed Dec 12, 2015
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

2 participants