Skip to content
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

[SYSTEMDS-3240] Fix IOGEN test path if the iogen directory doesn't exist #1475

Merged
merged 2 commits into from
Dec 7, 2021

Conversation

fathollahzadeh
Copy link
Contributor

This commit makes "iogen" directory in "/test/scripts/functions" path when we don't have it.

@j143
Copy link
Contributor

j143 commented Dec 7, 2021

Seems, a test related to this fails.

Running org.apache.sysds.test.functions.iogen.FrameGenerateReaderCSVTest
java.lang.Exception: The file format couldn't recognize!!
	at org.apache.sysds.runtime.iogen.GenerateReader$GenerateReaderFrame.getReader(GenerateReader.java:114)
	at org.apache.sysds.test.functions.iogen.GenerateReaderFrameTest.runGenerateReaderTest(GenerateReaderFrameTest.java:180)

@j143 j143 changed the title [IOGEN] Fixed IOGEN Test Path [SYSTEMDS-3240] Fix IOGEN test path if the iogen directory doesn't exist Dec 7, 2021
@fathollahzadeh
Copy link
Contributor Author

Seems, a test related to this fails.

Running org.apache.sysds.test.functions.iogen.FrameGenerateReaderCSVTest
java.lang.Exception: The file format couldn't recognize!!
	at org.apache.sysds.runtime.iogen.GenerateReader$GenerateReaderFrame.getReader(GenerateReader.java:114)
	at org.apache.sysds.test.functions.iogen.GenerateReaderFrameTest.runGenerateReaderTest(GenerateReaderFrameTest.java:180)

Seems, a test related to this fails.

Running org.apache.sysds.test.functions.iogen.FrameGenerateReaderCSVTest
java.lang.Exception: The file format couldn't recognize!!
	at org.apache.sysds.runtime.iogen.GenerateReader$GenerateReaderFrame.getReader(GenerateReader.java:114)
	at org.apache.sysds.test.functions.iogen.GenerateReaderFrameTest.runGenerateReaderTest(GenerateReaderFrameTest.java:180)

Thanks, @j143 - I fixed the tests and run all of them multiple times. The errors come up when I generate data with a random function; it seems some values had bad formats.

Copy link
Contributor

@j143 j143 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @fathollahzadeh - LGTM. 👍 🎉 🚀

Worked fine on my machine.

@j143 j143 merged commit 9a295c0 into apache:main Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants