You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "tswstarplanet (GitHub)" <gi...@apache.org> on 2020/01/07 13:13:27 UTC

[GitHub] [dubbo] tswstarplanet commented on issue #5589: [Dubbo-5479]fix generic reference does not implements real Interface

> > > @tswstarplanet
> > > Hello, your unit test failed.
> > > [ERROR] Failures:
> > > [ERROR] ReferenceConfigTest.testReferenceRetry:115 expected: false but was: true
> > 
> > 
> > Yes, I debugged on my computer. I found it is because of the cache file. So I add a piece of code to the unit test method to delete the cache file. It works well on my computer. I don't know why it is not ok on github.
> 
> I pulled your code to my local machine, and after running the unit tests, it is consistent with the github answer.
> 
> Maybe you forgot to modify
> https://github.com/tswstarplanet/dubbo/blob/509d0ae44d944d4bbaa92b018a354673f239e9ee/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java#L115
> 
> https://github.com/tswstarplanet/dubbo/blob/509d0ae44d944d4bbaa92b018a354673f239e9ee/dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/ReferenceConfigTest.java#L116
> 
> ```java
>         Assertions.assertTrue(success);
>         Assertions.assertNotNull(demoService);
> ```

No, we should not modify the code like that just to pass the assertion.

[ Full content available at: https://github.com/apache/dubbo/pull/5589 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org