Skip to content

Commit

Permalink
Fixing failing test (#8352)
Browse files Browse the repository at this point in the history
  • Loading branch information
prawalagarwal authored Sep 19, 2018
1 parent 2097c2e commit 4dd860f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Tasks/VsTestV2/inputdatacontract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export interface InputDataContract {
TestSelectionSettings : TestSelectionSettings;
VsTestConsolePath : string;
UsingXCopyTestPlatformPackage : boolean;
EnableSingleAgentAPIFlow : boolean;
TestReportingSettings : TestReportingSettings;
TfsSpecificSettings : TfsSpecificSettings;
TargetBinariesSettings : TargetBinariesSettings;
Expand Down
3 changes: 2 additions & 1 deletion Tasks/VsTestV2/inputparser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export function parseInputsForNonDistributedTestRun() : idc.InputDataContract {
inputDataContract.AccessTokenType = 'jwt';
inputDataContract.AgentName = tl.getVariable('Agent.MachineName') + '-' + tl.getVariable('Agent.Name') + '-' + tl.getVariable('Agent.Id');
inputDataContract.RunIdentifier = getRunIdentifier();

inputDataContract.EnableSingleAgentAPIFlow = utils.Helper.stringToBool(tl.getVariable('Hydra.EnableApiFlow'));

logWarningForWER(tl.getBoolInput('uiTests'));

return inputDataContract;
Expand Down

0 comments on commit 4dd860f

Please sign in to comment.