Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

created unit test cases for 353(DAWN-472) for ram_limit, weighted cpu… #2450

Merged
merged 2 commits into from
Apr 18, 2018

Conversation

taokayan
Copy link
Contributor

created test cases for ram_limit, weighted_cpu_limit, weighted_net_limit for #353

produce_blocks(1);
set_code(N(f_tests), code.c_str());
produce_blocks(10);

Copy link
Contributor

Choose a reason for hiding this comment

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

This test seems to take more time than needed. Do you need 10 blocks here? Also the loop below to 10, seems like fewer iterations could achieve the same test.

@taokayan
Copy link
Contributor Author

Hi I've created another pull request to make the test case run faster.

@heifner heifner merged commit 13effa5 into EOSIO:master Apr 18, 2018
@taokayan taokayan self-assigned this Apr 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants