You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2019/11/12 21:18:00 UTC
[jira] [Created] (BEAM-8628) testDefaultGcpTempLocationDoesNotExist
is environment-dependent
Kyle Weaver created BEAM-8628:
---------------------------------
Summary: testDefaultGcpTempLocationDoesNotExist is environment-dependent
Key: BEAM-8628
URL: https://issues.apache.org/jira/browse/BEAM-8628
Project: Beam
Issue Type: Bug
Components: testing
Reporter: Kyle Weaver
Assignee: Kyle Weaver
It appears the test is making some invalid assumption about the environment's gcloud setup. This can be avoided by properly mocking out the environment.
java.lang.AssertionError:
Expected: (an instance of java.lang.IllegalArgumentException and exception with message a string containing "Error constructing default value for gcpTempLocation: tempLocation is not a valid GCS path" and exception with cause exception with message a string containing "Output path does not exist or is not writeable")
but: exception with cause exception with message a string containing "Output path does not exist or is not writeable" cause message was "Unable to verify that GCS bucket gs://does exists."
Stacktrace was: java.lang.IllegalArgumentException: Error constructing default value for gcpTempLocation: tempLocation is not a valid GCS path, gs://does/not/exist.
[https://lists.apache.org/thread.html/8954a378c2e0451b8ddb3ba9ef7ce368af3086a2f217434e81168efb@%3Cdev.beam.apache.org%3E]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)