-
Notifications
You must be signed in to change notification settings - Fork 46
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
bug(c++,spark): clean the output directory when generating data in unit test #584
Comments
What do you think about making it a part of the top-level |
Good advice and that apply to c++ too! |
I came across this issue and would love to help out. Is there any additional information or context I should be aware of before I get started? Looking forward to contributing! |
Hi, @SumitkumarSatpute , thanks for the interest to GraphAr. the generated temporary data is generated by unit tests of write: So I think you need to clean the output directories like Feel free to ask if you have any question and enjoy the trip:) |
I see it in the following way:
|
Good supplement, thanks Sem. |
Please let me know how to reproduce this scenario in case of C++ , SPARK or others on this matter. |
For maven it is enough to run tests like they are running in CI: |
Describe the bug, including details regarding any error messages, version, and platform.
In c++ or spark unit test, we usually creating the graphar data to
/tmp
dir and may check the generated file num with anassert
. But the c++ and spark unit test may generate useless files for each other and make the assertion failed.I suggest we can clean the output directory before write out the files in unit test of c++ and spark.
Solution
As Sem suggested, we can making the clean operation as a part of the top-level
make clean
of C++/Spark library.Component(s)
C++, Spark
The text was updated successfully, but these errors were encountered: