Github user jvwing commented on the issue:

    https://github.com/apache/nifi/pull/1482
  
    It looks like the unit tests are failing with the addition of expression 
language to properties in AbstractGCPProcessor.  I thought it was just me, but 
TravisCI seems to have the same issue:
    
    
>testDeleteWithValidArguments(org.apache.nifi.processors.gcp.storage.DeleteGCSObjectTest)
  Time elapsed: 1.479 sec  <<< FAILURE!
    java.lang.AssertionError: Could not invoke methods annotated with 
@OnScheduled annotation due to: java.lang.reflect.InvocationTargetException
        at 
org.apache.nifi.processors.gcp.storage.DeleteGCSObjectTest.testDeleteWithValidArguments(DeleteGCSObjectTest.java:82)
    
    And many similar tests.  I know commenting out AbstractGCPProcessor lines 
45 and 55 makes the tests pass again.  I think the problem is we need to call 
`evaluateAttributeExpressions()`, but I'm not 100% on that.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to