Fix Implicit Remoting test failure on nightly run#4323
Fix Implicit Remoting test failure on nightly run#4323mirichmo merged 1 commit intoPowerShell:masterfrom
Conversation
|
@TravisEz13 having trouble getting Feature tests to run |
I never knew that restriction! I tried and I can confirm. I believe the fix does not need because the limit (1) can be changed in future, (2) can vary between systems and versions |
"If in the first line of the last (most recent) commit description you add |
|
#4304 was causing [Feature] not to work for PRs |
|
@iSazonov the fix is only needed because any customer (and affects our AppVeyor CI) using WS2012/R2 without WMF5 installed will have this restriction. This means that by default, if they do |
ebe9190 to
343da5c
Compare
|
The 3 failures in implicit remoting will be resolved by #4326 |
|
@SteveL-MSFT Why do we rely on the default value? What if I want 200? I can install WMF5 and get 200, but this fix is blocking me. This error is rised on the server but is sent to the remote user. |
|
@iSazonov we need a default as that value is required by WinRM. I guess the question is whether we want to support downlevel systems w/o WMF5 or not. Personally, I don't like making PSCore6 dependent on WMF5. cc @joeyaiello |
c2d3444 to
6dd595a
Compare
|
I don't like making PSCore6 dependent on WMF5 too. |
|
Based on some internal discussion, I think where we ended up is to revert the default as it was changed due to customer impact (100 was too low) and in the cmdlet, if the registration fails, we try again with MaxConcurrentUsers=100. |
6dd595a to
17b649b
Compare
There was a problem hiding this comment.
The comment should mention WMF 5.
There was a problem hiding this comment.
WS2012R2 has PSv3 by default and I'm not sure if the Max limit was changed in WMF4 or WMF5, so I'll just mention WMF
17b649b to
d342e39
Compare
|
@mirichmo @PaulHigin since this is causing our nightly runs to fail, can you prioritize this review higher? thanks |
There was a problem hiding this comment.
Given the decision to retry, shouldn't this be reverted?
There was a problem hiding this comment.
Yes, thought I did. Will fix.
d342e39 to
6c85e19
Compare
[Feature]
Systems running WS2012R2 w/o WMF5 has WinRM with restriction for MaxConcurrentUsers between 1-100
So the default needs to be 100 to allow PSCore6 to work w/o requiring WMF5+
This is technically a
Breaking Changeas we had explicitly changed the allowed max to Int.MaxValue, but for most users this shouldn't be an issue.