Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
- run: *npm_install_and_link
- run:
name: Run system tests.
command: npm run system-test
command: mkdir $HOME/.config && npm run system-test

This comment was marked as spam.

This comment was marked as spam.

environment:
GCLOUD_PROJECT: long-door-651
GOOGLE_APPLICATION_CREDENTIALS: .circleci/key.json
Expand Down
7 changes: 7 additions & 0 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@
common_templates = gcp.CommonTemplates()
templates = common_templates.node_library(source_location='build')
s.copy(templates)

# Create .config directory under $HOME to get around permissions issues
# with resumable upload.
s.replace(
".circleci/config.yml",
"command: npm run system-test",
"command: mkdir $HOME/.config && npm run system-test")
5 changes: 4 additions & 1 deletion system-test/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,10 @@ describe('storage', () => {

it('file#createResumableUpload', doubleTest((options, done) => {
file.createResumableUpload(options, (err, uri) => {
assert.ifError(err);
if (err) {
done(err);
return;
}

file.createWriteStream({uri})
.on('error', done)
Expand Down