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

test: Write v2 security tests for token create operation

Open fchitakova opened this issue 10 months ago • 8 comments

Description:

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

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

fchitakova avatar Apr 23 '24 13:04 fchitakova

Node: HAPI Test (Node Death Reconnect) Results

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

Results for commit 5e15c5d9.

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

github-actions[bot] avatar May 08 '24 14:05 github-actions[bot]

Node: HAPI Test (Restart) Results

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

Results for commit 5e15c5d9.

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

github-actions[bot] avatar May 08 '24 14:05 github-actions[bot]

Node: HAPI Test (Token) Results

237 tests   235 :white_check_mark:  18m 45s :stopwatch:  17 suites    2 :zzz:  17 files      0 :x:

Results for commit 5e15c5d9.

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

github-actions[bot] avatar May 08 '24 14:05 github-actions[bot]

Node: HAPI Test (Crypto) Results

335 tests   335 :white_check_mark:  38m 28s :stopwatch:  25 suites    0 :zzz:  25 files      0 :x:

Results for commit 5e15c5d9.

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

github-actions[bot] avatar May 08 '24 15:05 github-actions[bot]

Node: HAPI Test (Misc) Results

468 tests   458 :white_check_mark:  39m 34s :stopwatch:  77 suites   10 :zzz:  77 files      0 :x:

Results for commit 5e15c5d9.

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

github-actions[bot] avatar May 08 '24 15:05 github-actions[bot]

Node: HAPI Test (Time Consuming) Results

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

Results for commit 5e15c5d9.

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

github-actions[bot] avatar May 08 '24 15:05 github-actions[bot]

Node: HAPI Test (Smart Contract) Results

615 tests   615 :white_check_mark:  1h 11m 25s :stopwatch:  63 suites    0 :zzz:  63 files      0 :x:

Results for commit 5e15c5d9.

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

github-actions[bot] avatar May 08 '24 15:05 github-actions[bot]

Node: Unit Test Results

  2 319 files  ±0    2 319 suites  ±0   3h 10m 41s :stopwatch: -43s 119 060 tests ±0  118 993 :white_check_mark: ±0  67 :zzz: ±0  0 :x: ±0  127 621 runs  ±0  127 554 :white_check_mark: ±0  67 :zzz: ±0  0 :x: ±0 

Results for commit 5e15c5d9. ± Comparison against base commit fa129f59.

This pull request removes 996 and adds 758 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.state.merkle.StateMetadataTest ‑ [11] 

com.hedera.node.app.state.merkle.StateMetadataTest ‑ [203] Some Legal Characters 

com.hedera.node.app.state.merkle.StateMetadataTest ‑ [395] 
 Some Legal Characters
com.hedera.node.app.state.recordcache.RecordCacheImplTest$ReceiptQueryTests ‑ [100] EXPIRATION_REDUCTION_NOT_ALLOWED
com.hedera.node.app.state.recordcache.RecordCacheImplTest$ReceiptQueryTests ‑ [101] INVALID_SIGNATURE
com.hedera.node.app.state.recordcache.RecordCacheImplTest$ReceiptQueryTests ‑ [102] INVALID_ALLOWANCE_OWNER_ID
com.hedera.node.app.state.recordcache.RecordCacheImplTest$ReceiptQueryTests ‑ [103] SETTING_NEGATIVE_ACCOUNT_BALANCE
…

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

github-actions[bot] avatar May 08 '24 15:05 github-actions[bot]

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 67.23%. Comparing base (fa129f5) to head (241d3cc).

:exclamation: Current head 241d3cc differs from pull request most recent head 5e15c5d

Please upload reports for the commit 5e15c5d to get more accurate results.

Files Patch % Lines
...lows/handle/validation/AttributeValidatorImpl.java 50.00% 0 Missing and 1 partial :warning:
Additional details and impacted files
@@              Coverage Diff               @@
##             develop   #12952       +/-   ##
==============================================
+ Coverage           0   67.23%   +67.23%     
- Complexity         0    36166    +36166     
==============================================
  Files              0     3700     +3700     
  Lines              0   148960   +148960     
  Branches           0    15501    +15501     
==============================================
+ Hits               0   100155   +100155     
- Misses             0    44482    +44482     
- Partials           0     4323     +4323     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 15 '24 09:05 codecov[bot]