Skip to content

Commit d675c0e

Browse files
committed
debug system tests
1 parent b3263a8 commit d675c0e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

run/system-package/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ FROM node:20-alpine
2020
WORKDIR /usr/src/app
2121

2222
# [START cloudrun_system_package_alpine]
23-
RUN apk --no-cache add graphviz ttf-ubuntu-font-family
23+
RUN apk --no-cache add graphviz
2424
# [END cloudrun_system_package_alpine]
2525

2626
# Copy application dependency manifests to the container image.

run/system-package/test/system.test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
const assert = require('assert');
1616
const got = require('got');
17-
const {execSync} = require('child_process');
1817
const {GoogleAuth} = require('google-auth-library');
1918
const auth = new GoogleAuth();
2019

@@ -28,9 +27,6 @@ const request = (method, route, base_url, id_token) => {
2827
});
2928
};
3029

31-
// Manually install system package in testing environment
32-
execSync('sudo apt install graphviz -y && which dot');
33-
3430
describe('End-to-End Tests', () => {
3531
const {GOOGLE_CLOUD_PROJECT} = process.env;
3632
if (!GOOGLE_CLOUD_PROJECT) {

0 commit comments

Comments
 (0)