larroy edited a comment on issue #11616: Flaky test test_gluon.test_export URL: https://github.com/apache/incubator-mxnet/issues/11616#issuecomment-403817716 Mostly I agree with Marco. You can't assume that writing to a global path or acquiring a global resource is ok, because this prevents to run tests in parallel in different copies of MXNet which should be possible, as developers often have several copies of the same repo to test different things. So this test should write to a different location by means of a temporary directory. The fact that is not a good practice that a unit test writes to disk and instead should avoid IO or use a memory buffer is a broader discussion. We SHOULD be able to run multiple instances of MXNet in the same host, and run tests independently of course!!!
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
