Skip to content

test: add tests to PauseUnpauseTokenAccountPrecompileSuite #12492

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

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

mustafauzunn
Copy link
Contributor

Description:

add tests to PauseUnpauseTokenAccountPrecompileSuite

Related issue(s):

Fixes #12490

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@mustafauzunn mustafauzunn added the Limechain Work planned for the LimeChain team label Apr 2, 2024
@mustafauzunn mustafauzunn self-assigned this Apr 2, 2024
@mustafauzunn mustafauzunn requested a review from a team April 2, 2024 13:19
@mustafauzunn mustafauzunn requested a review from a team as a code owner April 2, 2024 13:19
Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Restart) Results

2 tests   2 ✅  5m 28s ⏱️
2 suites  0 💤
2 files    0 ❌

Results for commit 9534cd5.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Node Death Reconnect) Results

1 tests   1 ✅  27s ⏱️
1 suites  0 💤
2 files    0 ❌
1 errors

For more details on these parsing errors, see this check.

Results for commit 9534cd5.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Token) Results

207 tests   207 ✅  24m 6s ⏱️
 16 suites    0 💤
 16 files      0 ❌

Results for commit 9534cd5.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Crypto) Results

310 tests   310 ✅  47m 26s ⏱️
 25 suites    0 💤
 25 files      0 ❌

Results for commit 9534cd5.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Misc) Results

445 tests   435 ✅  46m 51s ⏱️
 77 suites   10 💤
 77 files      0 ❌

Results for commit 9534cd5.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Time Consuming) Results

21 tests   21 ✅  54m 7s ⏱️
 3 suites   0 💤
 3 files     0 ❌

Results for commit 9534cd5.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: Unit Test Results

  2 271 files  +2    2 271 suites  +2   2h 51m 33s ⏱️ - 1h 31m 43s
112 208 tests +6  112 112 ✅ +6  96 💤 ±0  0 ❌ ±0 
120 690 runs  +6  120 593 ✅ +6  97 💤 ±0  0 ❌ ±0 

Results for commit 9534cd5. ± Comparison against base commit dda6b07.

This pull request removes 3986 and adds 3763 tests. Note that renamed tests count towards both.

  
             IssuerDN: CN=s-aaaa
            SubjectDN: CN=s-aaaa
           Final Date: Fri Jan 01 00:00:00 UTC 2100
           Public Key: RSA Public Key [2e:28:bc:1e:d3:83:25:92:8e:cb:98:b1:b6:84:06:9c:d5:d8:14:d5],[56:66:d1:a4]
           Start Date: Sat Jan 01 00:00:00 UTC 2000
         SerialNumber: 12482092706667292405
        modulus: c1a0ff5d2372b53d12d12bb87dd03f5…
   Address[id=0,nickname=Austin,selfName=aaaa,weight=1000,hostnameInternal=127.0.0.1,portInternalIpv4=36947,hostnameExternal=92.252.101.102,portExternalIpv4=59597,sigPublicKey=<null>,agreePublicKey=<null>,sigCert=com.swirlds.platform.crypto.SerializableX509Certificate@3ea448d9,agreeCert=com.swirlds.platform.crypto.SerializableX509Certificate@183b2518,memo=bHwNYN16oR],
…
com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [4] 

com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [6] 

com.hedera.node.app.grpc.impl.netty.GrpcServiceBuilderTest ‑ [7]   
  
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [10] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@a010c90a
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [11] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@d00f819a
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [12] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@754e068e
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [13] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@8c48f55a
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [14] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@27a3c771
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [15] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@5a7588de
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [16] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@6bf58533
…

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Apr 2, 2024

Node: HAPI Test (Smart Contract) Results

513 tests   513 ✅  1h 4m 37s ⏱️
 55 suites    0 💤
 55 files      0 ❌

Results for commit 9534cd5.

♻️ This comment has been updated with latest results.

Signed-off-by: Mustafa Uzun <[email protected]>
Copy link
Contributor

@MrValioBg MrValioBg left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

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

LGTM, ty @mustafauzunn !

@mustafauzunn mustafauzunn merged commit aede6fb into develop Apr 4, 2024
@mustafauzunn mustafauzunn deleted the 12490-negative-cases-pause-unpause branch April 4, 2024 14:42
mustafauzunn added a commit that referenced this pull request Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Limechain Work planned for the LimeChain team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement negative test cases for pause/unpause
3 participants