Closed Bug 1022658 Opened 10 years ago Closed 5 years ago

Heavy logging in the console slows down unit test execution

Categories

(Mozilla Labs :: Jetpack SDK, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: Honza, Unassigned)

Details

I am using the following code in my Jetpack unit test to open a new browser tab:

  let browser = getMostRecentBrowserWindow();

  // Open a new browser tab.
  let newTab = openTab(browser, "http://google.com", {
    inBackground: false
  });

It produces a lot of logs in the system console (where I am running cfx) and slows down the entire test execution (several seconds).

There should be way to switch this off or remove the logging entirely.

(--verbose flag for cfx doesn't seem to have any influence on this)

Honza
Closing all inactive bugs in Mozilla labs :: *
Please reopen if this are still relevant.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.