-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-20518][CORE]Supplement the new blockidsuite unit tests #17794
Conversation
@@ -19,6 +19,8 @@ package org.apache.spark.storage | |||
|
|||
import org.apache.spark.SparkFunSuite | |||
|
|||
import java.util.UUID |
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.
The import ordering is not correct, it should be:
java packages
scala packages
third-party packages
spark packages
@@ -101,6 +129,30 @@ class BlockIdSuite extends SparkFunSuite { | |||
assertSame(id, BlockId(id.toString)) | |||
} | |||
|
|||
test("temp local") { | |||
val id = TempLocalBlockId(new UUID(5,2)) |
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.
nit: space after comma.
Would you please update the title to add |
@jerryshao |
The change LGTM, I think test PRs are always welcome. CC @srowen to see committer's comment. |
Test build #3691 has finished for PR 17794 at commit
|
retest this please |
Test build #76499 has finished for PR 17794 at commit
|
Merged to master |
## What changes were proposed in this pull request? This PR adds the new unit tests to support ShuffleDataBlockId , ShuffleIndexBlockId , TempShuffleBlockId , TempLocalBlockId ## How was this patch tested? The new unit test. Author: caoxuewen <cao.xuewen@zte.com.cn> Closes apache#17794 from heary-cao/blockidsuite.
What changes were proposed in this pull request?
This PR adds the new unit tests to support ShuffleDataBlockId , ShuffleIndexBlockId , TempShuffleBlockId , TempLocalBlockId
How was this patch tested?
The new unit test.