-
Notifications
You must be signed in to change notification settings - Fork 244
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
Fix some test issues in Spark UT and keep RapidsTestSettings update-to-date #10997
Fix some test issues in Spark UT and keep RapidsTestSettings update-to-date #10997
Conversation
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
build |
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
build |
tests/src/test/spark330/scala/org/apache/spark/sql/rapids/utils/RapidsTestsTrait.scala
Show resolved
Hide resolved
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
Premerge failed because the tests still think timezone is UTC, maybe caused by some settings in CI. Hardcoded to LA and trying again. |
build |
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
build |
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
build |
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
After removing UTC config, I found the new added UT cases passed by falling back to CPU. So, I think we may not need to copy them out. |
Hi @GaryShen2008 , what’s your java version? The new added cases can pass under older Java version but fail on newer ones. |
override def beforeAll(): Unit = { | ||
super.beforeAll() | ||
// Set timezone to UTC to avoid fallback, so that tests run on GPU to detect bugs | ||
TimeZone.setDefault(TimeZone.getTimeZone("UTC")) |
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.
set it back in AfterAll()?
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.
done
override def beforeAll(): Unit = { | ||
super.beforeAll() | ||
// Set timezone to UTC to avoid fallback, so that tests run on GPU to detect bugs | ||
TimeZone.setDefault(TimeZone.getTimeZone("UTC")) |
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.
set it back in AfterAll()?
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.
done
build |
Signed-off-by: Haoyang Li <haoyangl@nvidia.com>
build |
LGTM |
Contributes to #10771 #10773 #10775
This PR: