Skip to content

Flaky tests #1499

Closed
Closed

Description

@vors

This test

Test logs from Travis CI on #1481 (no code changes, only docs)

[-] Should have matching output when using the Start switch vs piping from another cmdlet 67ms
   Expected {999} to be less than {100}
   at line: 55 in /home/travis/build/PowerShell/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/New-TimeSpan.Tests.ps1

Activity

  1. vors commented on Jul 25, 2016

    @vors
    CollaboratorAuthor

    Another one, failed build on master

    [-] Validate Invoke-WebRequest -Headers --> Set KeepAlive to false via headers 376ms
       Expected: {}
       But was:  {Response status code does not indicate success: 503 (Service Unavailable).}
       at line: 154 in /Users/travis/build/PowerShell/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/WebCmdlets.Tests.ps1
    
  2. changed the title [-]New-TimeSpan.Tests.ps1 has flaky test[/-] [+]Flaky tests[/+] on Jul 25, 2016
  3. vors commented on Jul 25, 2016

    @vors
    CollaboratorAuthor

    One more from WebCmdlets

     [-] Validate Invoke-WebRequest error for -MaximumRedirection 5.08s
       Expected string length 83 but was 98. Strings differ at index 0.
       Expected: {WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
       But was:  {System.Threading.Tasks.TaskCanceledException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand}
       -----------^
       at line: 224 in C:\projects\powershell\test\powershell\Modules\Microsoft.PowerShell.Utility\WebCmdlets.Tests.ps1
       224:         $result.Error.FullyQualifiedErrorId | Should Be "WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand"
    
  4. added this to the milestone on Jul 25, 2016
  5. added
    WG-Quality-Test
    on Jul 26, 2016
  6. vors commented on Jul 27, 2016

    @vors
    CollaboratorAuthor

    One more from PackageManager cc Quoc Truong (@quoctruong) Raghu Shantha (@raghushantha)

    [+] EXPECTED: -FAILS- To Uninstall Package Due To Invalid Name 2.32s
    The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Remove-Item : The process cannot access the file 'C:\tmp\ab553ad6-aea9-4545-b0a
    

    https://ci.appveyor.com/project/PowerShell/powershell/build/0.6.0.3856

  7. JamesWTruher commented on Aug 4, 2016

    @JamesWTruher
    Collaborator

    these flaky tests should really be assigned to the owner of the feature (rather than me).
    The Invoke-WebRequest tests should really be tagged as Feature, since they go off box, which will at least pull them out of the CI path, as should the PackageManager tests. It looks like the proper tagging has occurred, so I'm going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

WG-Quality-Test

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions