Skip to content

feat: Optimize crypto tests#23219

Open
AlexKehayov wants to merge 34 commits intomainfrom
run-tests-concurrently
Open

feat: Optimize crypto tests#23219
AlexKehayov wants to merge 34 commits intomainfrom
run-tests-concurrently

Conversation

@AlexKehayov
Copy link
Contributor

@AlexKehayov AlexKehayov commented Jan 30, 2026

Description:

  • Runs non-leaky tests concurrently and leaky tests in regular subprocess

  • Moved leaky and ordered tests to XTS, only concurrent tests run in the PR check.

  • Currently, cache for crypto tests is disabled for time measuring.

XTS running leaky and ordered crypto tests in 28 mins.
MATS running concurrent crypto tests in 8 mins.
PR Check running concurrent crypto tests in 8 mins.

UPDATE:
All crypto tests run in the PR check for 15 mins. Link.

Related issue(s):
#22942

Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
@AlexKehayov AlexKehayov requested review from a team as code owners January 30, 2026 09:16
@AlexKehayov AlexKehayov self-assigned this Jan 30, 2026
@lfdt-bot
Copy link

lfdt-bot commented Jan 30, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@AlexKehayov AlexKehayov marked this pull request as draft January 30, 2026 09:18
@AlexKehayov AlexKehayov marked this pull request as ready for review January 30, 2026 09:18
@codacy-production
Copy link

codacy-production bot commented Jan 30, 2026

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (e9ab1aa) 93153 74831 80.33%
Head commit (e1a10c4) 93153 (+0) 74831 (+0) 80.33% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#23219) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@codecov
Copy link

codecov bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #23219   +/-   ##
=========================================
  Coverage     76.43%   76.43%           
  Complexity    23408    23408           
=========================================
  Files          2498     2498           
  Lines         93336    93336           
  Branches       9908     9908           
=========================================
  Hits          71343    71343           
  Misses        18405    18405           
  Partials       3588     3588           

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AlexKehayov AlexKehayov force-pushed the run-tests-concurrently branch 2 times, most recently from 6ad57d0 to f4ba93b Compare January 30, 2026 11:12
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>

# Conflicts:
#	hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/crypto/batch/AtomicAutoAccountCreationUnlimitedAssociationsSuite.java
#	hedera-node/test-clients/src/main/java/com/hedera/services/bdd/suites/hip551/allowance/AtomicBatchApproveAllowanceTest.java
@AlexKehayov AlexKehayov force-pushed the run-tests-concurrently branch from f4ba93b to f9a88a7 Compare January 30, 2026 11:51
AlexKehayov and others added 9 commits January 30, 2026 14:31
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
env:
LC_ALL: en.UTF-8
LANG: en_US.UTF-8
# Use --rerun-tasks --no-build-cache to ensure tests actually run and aren't cached
Copy link
Contributor

Choose a reason for hiding this comment

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

Reminder to remove these

AlexKehayov and others added 2 commits February 3, 2026 11:12
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
@AlexKehayov AlexKehayov force-pushed the run-tests-concurrently branch 2 times, most recently from 0a0a35b to ce0a3d7 Compare February 3, 2026 09:18
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
@AlexKehayov AlexKehayov force-pushed the run-tests-concurrently branch from ce0a3d7 to 892d1f0 Compare February 3, 2026 09:29
AlexKehayov and others added 10 commits February 3, 2026 12:51
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
@AlexKehayov AlexKehayov force-pushed the run-tests-concurrently branch from 2961200 to 3638df3 Compare February 4, 2026 13:51
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
AlexKehayov and others added 5 commits February 6, 2026 12:26
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Signed-off-by: Alex Kehayov <aleks.kehayov@limechain.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants