Skip to content

Commit

Permalink
Users/abpowell/deprecate nuget restore v1 (#18790)
Browse files Browse the repository at this point in the history
* Starting to deprecate NuGetRestoreV1

* Increasing L0 test timeout time

* Changed cred provider check to accept 1 warning

* Bumped task version

---------

Co-authored-by: Abby Powell (from Dev Box) <abpowell@microsoft.com>
  • Loading branch information
amp-powell and Abby Powell (from Dev Box) authored Aug 8, 2023
1 parent 3018681 commit 9c1dabd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Tasks/NuGetRestoreV1/Tests/L0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('NuGetRestore Suite', function () {
after(() => {
});
it('restore single solution', (done: Mocha.Done) => {
this.timeout(10000);
this.timeout(20000);

let tp = path.join(__dirname, 'singlesln.js')
let tr: ttm.MockTestRunner = new ttm.MockTestRunner(tp);
Expand Down Expand Up @@ -37,7 +37,7 @@ describe('NuGetRestore Suite', function () {
assert(tr.stdOutContained('NuGet output here'), "should have nuget output");
assert(tr.stdout.indexOf('credProviderPath = ') >= 0, "should have found credential provider path");
assert(tr.succeeded, 'should have succeeded');
assert.equal(tr.warningIssues.length, 0, "should have no warnings");
assert.equal(tr.warningIssues.length, 1, "should have only 1 warning");
assert.equal(tr.errorIssues.length, 0, "should have no errors");
done();
});
Expand Down
2 changes: 1 addition & 1 deletion Tasks/NuGetRestoreV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"version": {
"Major": 1,
"Minor": 226,
"Patch": 0
"Patch": 1
},
"runsOn": [
"Agent",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/NuGetRestoreV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"version": {
"Major": 1,
"Minor": 226,
"Patch": 0
"Patch": 1
},
"runsOn": [
"Agent",
Expand Down

0 comments on commit 9c1dabd

Please sign in to comment.