[
https://issues.apache.org/jira/browse/BEAM-8628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Weaver updated BEAM-8628:
------------------------------
Status: Open (was: Triage Needed)
> 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
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)