Skip to content

Commit 259e0d3

Browse files
Fix DockerV2 tests (#19865)
* Fix DockerV2 tests - * Fix DockerV2 tests - Increased timeout
1 parent b56c747 commit 259e0d3

File tree

10 files changed

+22
-19
lines changed

10 files changed

+22
-19
lines changed

Tasks/DockerV2/Tests/L0.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ describe("DockerV2 Suite", function () {
117117
});
118118

119119
it('Log in with Managed Identity', function (done: Mocha.Done) {
120+
this.timeout(100000);
120121
let tp = path.join(__dirname, 'TestSetup.js');
121122
process.env[shared.TestEnvVars.containerRegistry] = "acrendpoint3";
122123
process.env[shared.TestEnvVars.command] = shared.CommandTypes.login;
@@ -126,7 +127,7 @@ describe("DockerV2 Suite", function () {
126127
assert.equal(tr.succeeded, true, 'should have passed');
127128
assert.equal(tr.warningIssues.length, 0, "should have no warnings");
128129
assert.equal(tr.errorIssues.length, 0, "should have no error issue");
129-
console.log();
130+
console.log(tr.stderr);
130131
done();
131132
});
132133

Tasks/DockerV2/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 240,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"minimumAgentVersion": "2.172.0",
2020
"demands": [],

Tasks/DockerV2/task.loc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 240,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"minimumAgentVersion": "2.172.0",
2020
"demands": [],

_generated/DockerV2.versionmap.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|2.240.0
2-
Node20_229_2|2.240.1
1+
Default|2.240.2
2+
Node20_229_2|2.240.3

_generated/DockerV2/Tests/L0.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ describe("DockerV2 Suite", function () {
117117
});
118118

119119
it('Log in with Managed Identity', function (done: Mocha.Done) {
120+
this.timeout(100000);
120121
let tp = path.join(__dirname, 'TestSetup.js');
121122
process.env[shared.TestEnvVars.containerRegistry] = "acrendpoint3";
122123
process.env[shared.TestEnvVars.command] = shared.CommandTypes.login;
@@ -126,7 +127,7 @@ describe("DockerV2 Suite", function () {
126127
assert.equal(tr.succeeded, true, 'should have passed');
127128
assert.equal(tr.warningIssues.length, 0, "should have no warnings");
128129
assert.equal(tr.errorIssues.length, 0, "should have no error issue");
129-
console.log();
130+
console.log(tr.stderr);
130131
done();
131132
});
132133

_generated/DockerV2/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 240,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"minimumAgentVersion": "2.172.0",
2020
"demands": [],
@@ -188,7 +188,7 @@
188188
"WritingDockerConfigToTempFile": "Writing Docker config to temp file. File path: %s, Docker config: %s"
189189
},
190190
"_buildConfigMapping": {
191-
"Default": "2.240.0",
192-
"Node20_229_2": "2.240.1"
191+
"Default": "2.240.2",
192+
"Node20_229_2": "2.240.3"
193193
}
194194
}

_generated/DockerV2/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 240,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"minimumAgentVersion": "2.172.0",
2020
"demands": [],
@@ -188,7 +188,7 @@
188188
"WritingDockerConfigToTempFile": "ms-resource:loc.messages.WritingDockerConfigToTempFile"
189189
},
190190
"_buildConfigMapping": {
191-
"Default": "2.240.0",
192-
"Node20_229_2": "2.240.1"
191+
"Default": "2.240.2",
192+
"Node20_229_2": "2.240.3"
193193
}
194194
}

_generated/DockerV2_Node20/Tests/L0.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ describe("DockerV2 Suite", function () {
117117
});
118118

119119
it('Log in with Managed Identity', function (done: Mocha.Done) {
120+
this.timeout(100000);
120121
let tp = path.join(__dirname, 'TestSetup.js');
121122
process.env[shared.TestEnvVars.containerRegistry] = "acrendpoint3";
122123
process.env[shared.TestEnvVars.command] = shared.CommandTypes.login;
@@ -126,7 +127,7 @@ describe("DockerV2 Suite", function () {
126127
assert.equal(tr.succeeded, true, 'should have passed');
127128
assert.equal(tr.warningIssues.length, 0, "should have no warnings");
128129
assert.equal(tr.errorIssues.length, 0, "should have no error issue");
129-
console.log();
130+
console.log(tr.stderr);
130131
done();
131132
});
132133

_generated/DockerV2_Node20/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 240,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"minimumAgentVersion": "2.172.0",
2020
"demands": [],
@@ -192,7 +192,7 @@
192192
"WritingDockerConfigToTempFile": "Writing Docker config to temp file. File path: %s, Docker config: %s"
193193
},
194194
"_buildConfigMapping": {
195-
"Default": "2.240.0",
196-
"Node20_229_2": "2.240.1"
195+
"Default": "2.240.2",
196+
"Node20_229_2": "2.240.3"
197197
}
198198
}

_generated/DockerV2_Node20/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 240,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"minimumAgentVersion": "2.172.0",
2020
"demands": [],
@@ -192,7 +192,7 @@
192192
"WritingDockerConfigToTempFile": "ms-resource:loc.messages.WritingDockerConfigToTempFile"
193193
},
194194
"_buildConfigMapping": {
195-
"Default": "2.240.0",
196-
"Node20_229_2": "2.240.1"
195+
"Default": "2.240.2",
196+
"Node20_229_2": "2.240.3"
197197
}
198198
}

0 commit comments

Comments
 (0)