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

StateChecker: disable save_traces by default #7410

Merged
merged 3 commits into from
Jun 19, 2019

Conversation

lazka
Copy link
Contributor

@lazka lazka commented Jun 17, 2019

Description

  • Makes save_traces default to false
  • Print stacktraces always
  • Remove the travis config override which is no longer needed now

This is a better version of #7087

Motivation and Context

I couldn't run the full test suite on my local machine because they needed too much
memory (>16GB)

How To Test This

Run the unit tests.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

The saveTraces functionality isn't needed to print the stacktrace so don't
depend on it.
It's not used by anything by default and just makes testing harder because
it needs more CPU/memory.

According to the docs it should be off by default anyway:
https://docs.suitecrm.com/developer/automatedtesting/writing-tests/
@Dillon-Brown Dillon-Brown added the PR:Community Contribution These are contribution made by the community label Jun 17, 2019
@Mac-Rae
Copy link
Contributor

Mac-Rae commented Jun 19, 2019

Approved by Travis 👍

@Mac-Rae Mac-Rae merged commit e6c4fc4 into salesagility:hotfix-7.10.x Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR:Community Contribution These are contribution made by the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants