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

disable profiler in test env. #1330

Merged
merged 3 commits into from
Feb 12, 2016
Merged

disable profiler in test env. #1330

merged 3 commits into from
Feb 12, 2016

Conversation

stopfstedt
Copy link
Member

i yanked the Liip profiler and query counter in all environments, and only enabled the profiler in test env.
based on this recommendation: http://symfony.com/doc/current/cookbook/testing/profiling.html#speeding-up-tests-by-not-collecting-profiler-data

we were getting warnings in travis:

selection_095

see: https://github.com/liip/LiipFunctionalTestBundle#query-counter

@@ -37,7 +37,7 @@ monolog:

liip_functional_test:
cache_sqlite_db: true
query_count.max_query_count: 50
#query_count.max_query_count: 50
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets just toss this - we're not hitting it now - and its about as bad as it can get for query count. I say just take out this whole section.

jrjohnson added a commit that referenced this pull request Feb 12, 2016
@jrjohnson jrjohnson merged commit 030fd27 into ilios:master Feb 12, 2016
@stopfstedt stopfstedt deleted the phpunit_stop_nagging branch February 12, 2016 17:21
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