From f95828ac8370b20df5aa816ee57422e4a3819e64 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Mon, 10 Oct 2016 14:27:06 -0700 Subject: [PATCH] Default Mocha timeout was too low. Travis was timing out even though it worked on my laptop. Increasing the timeout should help. http://stackoverflow.com/a/23492442/101923 --- scripts/encrypt-secrets.sh | 3 +-- vision/explore-api/main.test.js | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/encrypt-secrets.sh b/scripts/encrypt-secrets.sh index b303a22..43e66f2 100755 --- a/scripts/encrypt-secrets.sh +++ b/scripts/encrypt-secrets.sh @@ -1,5 +1,4 @@ -#!/bin/bash - +#!/usr/bin/env bash # Copyright 2016 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/vision/explore-api/main.test.js b/vision/explore-api/main.test.js index 0a96e1e..09ab756 100644 --- a/vision/explore-api/main.test.js +++ b/vision/explore-api/main.test.js @@ -14,6 +14,8 @@ 'use strict'; describe('vision/explore-api/main.js', function () { + this.timeout(30000); + before(function (done) { var fileform = document.createElement('form'); fileform.id = 'fileform';