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

[SPARK-26286][TEST] Add MAXIMUM_PAGE_SIZE_BYTES exception bound unit test #23226

Closed

Conversation

wangjiaochun
Copy link
Contributor

What changes were proposed in this pull request?

Add MAXIMUM_PAGE_SIZE_BYTES Exception test

How was this patch tested?

Existing tests

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Please review http://spark.apache.org/contributing.html before opening a pull request.


try {
new BytesToBytesMap(
taskMemoryManager,
Copy link
Member

Choose a reason for hiding this comment

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

Let's keep the indentation consistent. BTW this isn't a minor as well. It needs a JIRA.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok,I will correct this indentation and propose JIRA.

@wangjiaochun wangjiaochun changed the title [MINOR][TEST] Add MAXIMUM_PAGE_SIZE_BYTES Exception test [SPARK-26286][TEST] Add MAXIMUM_PAGE_SIZE_BYTES exception bound unit test Dec 6, 2018
new BytesToBytesMap(
taskMemoryManager,
1,
TaskMemoryManager.MAXIMUM_PAGE_SIZE_BYTES+1);
Copy link
Member

Choose a reason for hiding this comment

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

E_BYTES+1 -> E_BYTES + 1

@SparkQA
Copy link

SparkQA commented Dec 7, 2018

Test build #4457 has finished for PR 23226 at commit 3a0fb2a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

   Add max page size exception bounds checking test

  resolve conversation
@kiszk
Copy link
Member

kiszk commented Dec 7, 2018

retest this please

@SparkQA
Copy link

SparkQA commented Dec 8, 2018

Test build #4462 has finished for PR 23226 at commit 486f2b5.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

Merged to master.

@asfgit asfgit closed this in 42e8c38 Dec 10, 2018
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
…test

## What changes were proposed in this pull request?
Add MAXIMUM_PAGE_SIZE_BYTES Exception test

## How was this patch tested?
Existing tests

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Please review http://spark.apache.org/contributing.html before opening a pull request.

Closes apache#23226 from wangjiaochun/BytesToBytesMapSuite.

Authored-by: 10087686 <wang.jiaochun@zte.com.cn>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants