Skip to content

Commit

Permalink
updating merged tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfiorenzano committed May 12, 2021
1 parent 4a91581 commit fdd2db3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Tasks/DockerV1/Tests/L0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ describe('Docker Suite', function() {
let tp = path.join(__dirname, 'TestSetup.js');
process.env[shared.TestEnvVars.imageName] = "testuser/standardbuild:11";
process.env[shared.TestEnvVars.command] = shared.CommandTypes.buildImage;
process.env[shared.TestEnvVars.addBaseImageData] = "false";
let tr : ttm.MockTestRunner = new ttm.MockTestRunner(tp);
tr.run();

Expand All @@ -426,6 +427,7 @@ describe('Docker Suite', function() {
let tp = path.join(__dirname, 'TestSetup.js');
process.env[shared.TestEnvVars.imageName] = "testuser/buildkit:11";
process.env[shared.TestEnvVars.command] = shared.CommandTypes.buildImage;
process.env[shared.TestEnvVars.addBaseImageData] = "false";
let tr : ttm.MockTestRunner = new ttm.MockTestRunner(tp);
tr.run();

Expand Down
4 changes: 2 additions & 2 deletions Tasks/DockerV1/Tests/TestSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ a.exec[`docker images`] = {
"code": 0,
"stdout": "Listed images successfully."
};
a.exec[`docker build -f ${DockerFilePath} -t testuser/standardbuild:11`] = {
a.exec[`docker build -f ${DockerFilePath} ${shared.DockerCommandArgs.BuildLabels} -t testuser/standardbuild:11`] = {
"code": 0,
"stdout": "Successfully built c834e0094587\n Successfully tagged testuser/testrepo:11."
};
a.exec[`docker build -f ${DockerFilePath} -t testuser/buildkit:11`] = {
a.exec[`docker build -f ${DockerFilePath} ${shared.DockerCommandArgs.BuildLabels} -t testuser/buildkit:11`] = {
"code": 0,
"stdout": " => => writing image sha256:6c3ada3eb42094510e0083bba6ae805540e36c96871d7be0c926b2f8cbeea68c\n => => naming to docker.io/library/testuser/buildkit:11"
};
Expand Down

0 comments on commit fdd2db3

Please sign in to comment.