-
Notifications
You must be signed in to change notification settings - Fork 306
Make OSSFileSystem works again #1723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
terrytangyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I don’t have a setup to test this anymore unfortunately. Could you share how you’ve tested the changes?
|
@terrytangyuan Thanks for your review. :) Now, all tests have passed, but there are only two tests in tests/test_ossfs.py. I think I may need add some tests or do some actual scenario tests ? |
|
Yeah do some actual tests, e.g. proving that this fixes those issues you mentioned. |
|
@terrytangyuan yeah, I will do this work. |
|
Tests done:
|
|
@terrytangyuan Please take a look at this patch, thanks. |
terrytangyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
|
@terrytangyuan Thank you. :) TFIO_DATAPATH=bazel-bin python3 -m pytest --benchmark-disable -v --import-mode=append --forked --numprocesses=auto --dist loadfile tests/test_ossfs.py I can run in my local env |
|
@wujinhu The issue is that pytest is deprecating forked command. In the mean time, can you carry the change: https://github.com/tensorflow/io/pull/1728/files This will fix the test failure issue. |
|
rebase master |
|
@terrytangyuan @yongtang Can we merge this pr? Seems these failures do not related to this change. |
|
@wujinhu Thanks for the contribution! |
* make ossfs work again * make ossfs work again * make ossfs work again * fix code style
OSSFileSystem can not work and there are some issues report it. This PR makes it work again.
#1714
#1475
#1448