From 51460b9659dfe14a40669ce34fe996f88cf78e35 Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Wed, 5 Apr 2017 15:57:12 -0500 Subject: [PATCH] Travis: fix failing tests + update dependencies (#335) * Make unify script recursive + clean up dependency conflicts * Restore travis.yml * Delete outdated text detection sample that duplicates detect.js * Fix failing KMS + vision tests by updating dependencies * Fix video tests using a bad cwd * Upgrade monitoring dependency + skip flaky monitoring tests * Fix DLP tests having wrong cwd * Fix failing vision test * Fix datastore tests * Update broken dependency * Update possibly broken compute engine dependency * Fix typos * Disable Node 4 testing * Revert deletion of outdated sample - @gguuss says we still use this. This reverts commit b7259c820fb011369c7b5badac82fcde26be008a. * Update dependency --- vision/samples/package.json | 2 +- vision/samples/system-test/detect.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vision/samples/package.json b/vision/samples/package.json index b8097ec80e..18d9189f91 100644 --- a/vision/samples/package.json +++ b/vision/samples/package.json @@ -9,7 +9,7 @@ }, "dependencies": { "@google-cloud/storage": "0.7.0", - "@google-cloud/vision": "0.9.0", + "@google-cloud/vision": "^0.11.0", "async": "2.1.4", "natural": "0.4.0", "redis": "2.6.5", diff --git a/vision/samples/system-test/detect.test.js b/vision/samples/system-test/detect.test.js index 258450dbe2..3ee9f4f40a 100644 --- a/vision/samples/system-test/detect.test.js +++ b/vision/samples/system-test/detect.test.js @@ -159,7 +159,7 @@ test(`should detect similar web images in a remote file`, async (t) => { t.true(output.includes('URL: https://cloud.google.com/vision/docs/images/')); t.true(output.includes('Partial matches found: 5')); t.true(output.includes('Web entities found: 5')); - t.true(output.includes('Description: Google Cloud Platform')); + t.true(output.includes('Description: Google')); }); test(`should read a document from a local file`, async (t) => {