Skip to content

Commit

Permalink
test: adding in print logs for investigation
Browse files Browse the repository at this point in the history
  • Loading branch information
pattishin committed Mar 7, 2024
1 parent d7a998c commit 40997d3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions run/helloworld/test/system.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,21 @@ describe('End-to-End Tests', () => {
});

after(() => {
/*let cleanUpCmd =
let cleanUpCmd =
`gcloud builds submit --project ${GOOGLE_CLOUD_PROJECT} ` +
'--config ./test/e2e_test_cleanup.yaml ' +
`--substitutions _SERVICE=${SERVICE_NAME},_PLATFORM=${PLATFORM},_REGION=${REGION}`;
if (SAMPLE_VERSION) cleanUpCmd += `,_VERSION=${SAMPLE_VERSION}`;

execSync(cleanUpCmd);*/
execSync(cleanUpCmd);
});

it('Service uses the NAME override', async () => {
const response = await get('/', BASE_URL);

Check failure on line 96 in run/helloworld/test/system.test.js

View workflow job for this annotation

GitHub Actions / lint

Delete `····`

Check failure on line 96 in run/helloworld/test/system.test.js

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces not allowed
console.log('-------');
console.log(BASE_URL);

Check failure on line 99 in run/helloworld/test/system.test.js

View workflow job for this annotation

GitHub Actions / lint

Delete `····`

Check failure on line 99 in run/helloworld/test/system.test.js

View workflow job for this annotation

GitHub Actions / lint

Trailing spaces not allowed
assert.strictEqual(
response.statusCode,
200,
Expand Down

0 comments on commit 40997d3

Please sign in to comment.