Skip to content

Travis log is full #2836

@iSazonov

Description

@iSazonov

Last time this error occurs during Travis CI tests:

1828The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).

Many records in the log is present:

Updating Help for module Microsoft.PowerShell.Core                                 Installing Help content...                                                      [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]                                                                                      
                                                                                 Updating Help for module Microsoft.PowerShell.Core                                 Installing Help content...                                                      [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]                                                                                      VERBOSE: Microsoft.PowerShell.Core: Updated 
/home/travis/build/PowerShell/PowerShell/src/powershell-unix/bin/Linux/netcorea
pp1.0/ubuntu.14.04-x64/publish/en-US/about_Session_Configurations.help.txt. 
Culture en-US Version 5.1.1.0                                                                                 Updating Help for module Microsoft.PowerShell.Core                                 Installing Help content...                                                      [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]                                                                                      
                                                                                 Updating Help for module Microsoft.PowerShell.Core                                 Installing Help content...                                                      [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]                                                                                      VERBOSE: Microsoft.PowerShell.Core: Updated 
/home/travis/build/PowerShell/PowerShell/src/powershell-unix/bin/Linux/netcorea
pp1.0/ubuntu.14.04-x64/publish/en-US/about_WMI_Cmdlets.help.txt. Culture en-US 

The proposal is to remove unnecessary progress bar by adding $progressPreference = 'silentlyContinue' in Help tests.

/cc @vors @lzybkr

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions