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

xWebAdministration tests are failing #52

Closed
KarolKaczmarek opened this issue Sep 11, 2015 · 7 comments
Closed

xWebAdministration tests are failing #52

KarolKaczmarek opened this issue Sep 11, 2015 · 7 comments
Labels
bug The issue is a bug.

Comments

@KarolKaczmarek
Copy link
Contributor

see #51

@KarolKaczmarek KarolKaczmarek added the bug The issue is a bug. label Sep 11, 2015
@KarolKaczmarek
Copy link
Contributor Author

Hi @TravisEz13 ,
We are seeing many test failures in this module recently.
This is blocking acceptance of the outstanding PRs and new releases.
Could you please take a look at this?

@tysonjhayes
Copy link

Is it possible this is related to the change I made in xDSCResources (dsccommunity/xDSCResourceDesigner#29) if so would publishing the fix so we can pull down the newer version actually fix the issue?

@KarolKaczmarek
Copy link
Contributor Author

After publishing xDSCResourceDesigner, we are still seeing these errors: https://ci.appveyor.com/project/PowerShell/xwebadministration/build/1.0.140

@KarolKaczmarek
Copy link
Contributor Author

[-] Error occurred in test script 'C:\projects\xwebadministration\Tests\Integration\MSFT_xIISServerLevelIntegration.Tests.ps1' 9.91s
  At C:\projects\xwebadministration\Tests\Integration\MSFT_xIISServerLevelIntegration.Tests.ps1:70 char:17
  +                 Import-DscResource -ModuleName xWebAdministration
  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Multiple versions of the module 'xWebAdministration' were found. You can run 'Get-DscResource -Module xWebAdministration' to see available versions on the system, and then use the fully qualified name in the following command to specify the desired version: 'Import-Module –ModuleName @{ModuleName=xWebAdministration;ModuleVersion=Version}'.

  At C:\projects\xwebadministration\Tests\Integration\MSFT_xIISServerLevelIntegration.Tests.ps1:94 char:17
  +                 Import-DscResource -ModuleName xWebAdministration
  +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@tysonjhayes
Copy link

Well at least it's a slightly different error? 😁

@KarolKaczmarek
Copy link
Contributor Author

Actually, that's the one I've seen when opening this issue. There were some new issues introduced in the meantime which seem to be resolved with the XDscResourceDesigner update, but the original issue is still there.

The error indicates we have xWebAdministration deployed twice..

according to appveyor.yml, one is:

$tempModulePath = (Resolve-Path (join-path $PWD '..')).ProviderPath 
$env:PSModulePath = "$env:PSModulePath;$tempModulePath" 

aware of any other place we may be deploying it/adding to PSModulePath?

@tysonjhayes
Copy link

This has been fixed up and all tests have been passing that have been submitted (that don't actually have something wrong with them. 😁 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants