[ 
https://issues.apache.org/jira/browse/BEAM-8628?focusedWorklogId=342742&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-342742
 ]

ASF GitHub Bot logged work on BEAM-8628:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Nov/19 17:34
            Start Date: 13/Nov/19 17:34
    Worklog Time Spent: 10m 
      Work Description: ibzib commented on pull request #10076: [BEAM-8628] use 
mock GcsUtil in testDefaultGcpTempLocationDoesNotExist
URL: https://github.com/apache/beam/pull/10076
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 342742)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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)

Reply via email to