matthiasa4 commented on pull request #13645:
URL: https://github.com/apache/beam/pull/13645#issuecomment-832867268


   Hey @pabloem - the tests (for CatalogItem and UserEvent) work locally for 
me, but I am hitting my own GCP project (since the tests are calling APIs 
inside a project that needs the API enabled). I think this is why the tests are 
returning `null` values. Not sure if this is the only cause but is the 
`apache-beam-testing` project a real GCP project, does the service account that 
runs the test have access to it and are the APIs enabled on the other side?
   
   For the Predict test I think the reason is related: since the model has no 
data yet (and we are trying to get a prediction based on 
`recently_viewed_items`) the resulting prediction returns empty. Either we need 
to put data in there or, alternatively, we could check if the faulty 
PCollection is empty. Wdyt?


-- 
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]


Reply via email to