Skip to content

Commit 4dd860f

Browse files
Fixing failing test (#8352)
1 parent 2097c2e commit 4dd860f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Tasks/VsTestV2/inputdatacontract.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export interface InputDataContract {
88
TestSelectionSettings : TestSelectionSettings;
99
VsTestConsolePath : string;
1010
UsingXCopyTestPlatformPackage : boolean;
11+
EnableSingleAgentAPIFlow : boolean;
1112
TestReportingSettings : TestReportingSettings;
1213
TfsSpecificSettings : TfsSpecificSettings;
1314
TargetBinariesSettings : TargetBinariesSettings;

Tasks/VsTestV2/inputparser.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ export function parseInputsForNonDistributedTestRun() : idc.InputDataContract {
6060
inputDataContract.AccessTokenType = 'jwt';
6161
inputDataContract.AgentName = tl.getVariable('Agent.MachineName') + '-' + tl.getVariable('Agent.Name') + '-' + tl.getVariable('Agent.Id');
6262
inputDataContract.RunIdentifier = getRunIdentifier();
63-
63+
inputDataContract.EnableSingleAgentAPIFlow = utils.Helper.stringToBool(tl.getVariable('Hydra.EnableApiFlow'));
64+
6465
logWarningForWER(tl.getBoolInput('uiTests'));
6566

6667
return inputDataContract;

0 commit comments

Comments
 (0)