hedera-services icon indicating copy to clipboard operation
hedera-services copied to clipboard

chore: Implement unit tests for ConsensusHandlers class

Open kimbor opened this issue 9 months ago • 8 comments

Add unit tests for ConsensusHandlers class

Related issue(s):

Fixes #13217

kimbor avatar May 10 '24 21:05 kimbor

Node: HAPI Test (Restart) Results

2 tests   2 :white_check_mark:  5m 28s :stopwatch: 2 suites  0 :zzz: 2 files    0 :x:

Results for commit 7a9006f1.

github-actions[bot] avatar May 10 '24 22:05 github-actions[bot]

Node: HAPI Test (Node Death Reconnect) Results

2 tests   2 :white_check_mark:  7m 0s :stopwatch: 2 suites  0 :zzz: 2 files    0 :x:

Results for commit 7a9006f1.

github-actions[bot] avatar May 10 '24 22:05 github-actions[bot]

Node: HAPI Test (Token) Results

235 tests   233 :white_check_mark:  19m 53s :stopwatch:  17 suites    2 :zzz:  17 files      0 :x:

Results for commit 7a9006f1.

github-actions[bot] avatar May 10 '24 22:05 github-actions[bot]

Node: HAPI Test (Misc) Results

459 tests   448 :white_check_mark:  37m 28s :stopwatch:  77 suites   10 :zzz:  77 files      1 :x:

For more details on these failures, see this check.

Results for commit 7a9006f1.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar May 10 '24 22:05 github-actions[bot]

Node: HAPI Test (Crypto) Results

335 tests   335 :white_check_mark:  44m 32s :stopwatch:  25 suites    0 :zzz:  25 files      0 :x:

Results for commit 7a9006f1.

github-actions[bot] avatar May 10 '24 22:05 github-actions[bot]

Node: HAPI Test (Time Consuming) Results

21 tests   21 :white_check_mark:  54m 28s :stopwatch:  3 suites   0 :zzz:  3 files     0 :x:

Results for commit 7a9006f1.

github-actions[bot] avatar May 10 '24 23:05 github-actions[bot]

Node: HAPI Test (Smart Contract) Results

592 tests   592 :white_check_mark:  1h 11m 14s :stopwatch:  63 suites    0 :zzz:  63 files      0 :x:

Results for commit 7a9006f1.

github-actions[bot] avatar May 10 '24 23:05 github-actions[bot]

Node: Unit Test Results

  2 283 files  +1    2 283 suites  +1   3h 27m 46s :stopwatch: + 1h 1m 54s 118 829 tests +5  118 762 :white_check_mark: +5  67 :zzz: ±0  0 :x: ±0  127 314 runs  +5  127 247 :white_check_mark: +5  67 :zzz: ±0  0 :x: ±0 

Results for commit 7a9006f1. ± Comparison against base commit 11d5e0e2.

This pull request removes 3974 and adds 3742 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: c1a0ff5d2372b53d12d12bb87dd03f5e…
        modulus: c1a0ff5d2372b53d12d12bb87dd03f5…
…
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.consensus.impl.test.handlers.ConsensusHandlersTest ‑ consensusCreateTopicHandlerReturnsCorrectInstance()
com.hedera.node.app.service.consensus.impl.test.handlers.ConsensusHandlersTest ‑ consensusDeleteTopicHandlerReturnsCorrectInstance()
com.hedera.node.app.service.consensus.impl.test.handlers.ConsensusHandlersTest ‑ consensusGetTopicInfoHandlerReturnsCorrectInstance()
com.hedera.node.app.service.consensus.impl.test.handlers.ConsensusHandlersTest ‑ consensusSubmitMessageHandlerReturnsCorrectInstance()
com.hedera.node.app.service.consensus.impl.test.handlers.ConsensusHandlersTest ‑ consensusUpdateTopicHandlerReturnsCorrectInstance()
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [10] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@30aaa4fb
com.hedera.node.app.service.mono.state.codec.VirtualKeySerdesAdapterTest ‑ [11] com.hedera.node.app.service.mono.state.codec.VirtualBlobKey@c16a921f
…

github-actions[bot] avatar May 10 '24 23:05 github-actions[bot]