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

Make tests pass with -u #1396

Merged
merged 2 commits into from Nov 28, 2014
Merged

Make tests pass with -u #1396

merged 2 commits into from Nov 28, 2014

Conversation

djmitche
Copy link
Member

I'm kinda surprised at this, but Trial uses the same test instance between multiple runs with -u. So this removes the poller state attributes from those instances.

@gsemet
Copy link

gsemet commented Nov 27, 2014

I think trial run in a single the same instance, no matter -u. For example, if you set a global variable in one test, you can read from another one.... I find it horrible...

@djmitche
Copy link
Member Author

That I expected -- but using the exact same instance of the test class was surprising.

@djmitche
Copy link
Member Author

(tests fixed)

sa2ajj pushed a commit that referenced this pull request Nov 28, 2014
Make tests pass with `-u`
@sa2ajj sa2ajj merged commit 2adab5c into buildbot:master Nov 28, 2014
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

Successfully merging this pull request may close these issues.

None yet

3 participants