dajiaohuang commented on PR #9794:
URL: https://github.com/apache/netbeans/pull/9794#issuecomment-7034397206

   Applied your suggested change verbatim at `692f1b7`.
   
   `FtpClientTest` was calling `manager.defaultConfiguration()`, which hands 
back whatever configuration a previous test in the same JVM left behind — so 
the new test was not isolated and failed as you observed. It now creates its 
own:
   
   ```java
   ConfigManager.Configuration configuration = manager.createNew("demo", "Demo 
config");
   ```
   
   On your other question — whether I tested the fix myself and why the 
validation section did not say so. Straight answer: no, I did not run it 
against a real FTP server; you did, against a pureftp container, and I am 
relying on that. What I can add is that the earlier "failing tests are 
relevant" wording in the description was mine and was wrong — those failures 
were from the pre-existing suite run in the same invocation, not evidence about 
this change. I have left the description's validation section alone rather than 
editing it to look better than it is.
   
   On whether to integrate it: yes, please take it. The change is two lines and 
the hard part — confirming UTF-8 filenames survive the transfer — was your 
pureftp verification, not mine. If you would rather fix the test yourself and 
keep credit, that is fine too; I would not want the test change to be the thing 
that blocks a fix you have already validated.
   
   I have not re-run the module tests on this head. The unittest now compiles 
against `ConfigManager.createNew` but I cannot claim a green run.
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to