Skip to content
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

Preserve logic via dependency migration test #9723

Merged
merged 2 commits into from Nov 7, 2023
Merged

Conversation

mhess-swl
Copy link
Member

@mhess-swl mhess-swl commented Nov 7, 2023

The logic for inter-service dependencies during startup migrations is currently in the Hedera class, which isn't directly tested. This PR captures that logic in its own object, with a test to verify its behavior.

Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
@mhess-swl mhess-swl added the Modularization Issues or PRs related to modularization label Nov 7, 2023
@mhess-swl mhess-swl added this to the v0.45 milestone Nov 7, 2023
@mhess-swl mhess-swl self-assigned this Nov 7, 2023
@mhess-swl mhess-swl requested a review from a team as a code owner November 7, 2023 00:13
Copy link

github-actions bot commented Nov 7, 2023

Node: Unit Test Results

    2 275 files  +3      2 275 suites  +3   1h 27m 44s ⏱️ + 5m 28s
118 356 tests +8  118 322 ✔️ +8  34 💤 ±0  0 ±0 
126 617 runs  +8  126 583 ✔️ +8  34 💤 ±0  0 ±0 

Results for commit 3a15597. ± Comparison against base commit cce3566.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 7, 2023

Node: E2E Test Results

    1 files  ±    0      1 suites  ±0   20m 48s ⏱️ + 20m 48s
310 tests +309  310 ✔️ +310  0 💤 ±0  0  - 1 
332 runs  +331  332 ✔️ +332  0 💤 ±0  0  - 1 

Results for commit 3a15597. ± Comparison against base commit cce3566.

This pull request removes 1 and adds 310 tests. Note that renamed tests count towards both.
EndToEndTests ‑ initializationError
EndToEndTests ‑ ADDRESS_BOOK_CONTROLCanUpdateADDRESS_BOOK
EndToEndTests ‑ ADDRESS_BOOK_CONTROLCanUpdateNODE_DETAILS
EndToEndTests ‑ AccountsGetPayerRecordsIfSoConfigured
EndToEndTests ‑ Acct57CanMakeSmallChanges
EndToEndTests ‑ Acct57CantMakeLargeChanges
EndToEndTests ‑ AddingSignaturesToExecutedTxFails
EndToEndTests ‑ AddingSignaturesToExecutedTxFailsWithLongTermEnabled
EndToEndTests ‑ AddingSignaturesToNonExistingTxFails
EndToEndTests ‑ AddingSignaturesToNonExistingTxFailsWithLongTermEnabled
EndToEndTests ‑ AddressAliasIdFuzzing
…

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 7, 2023

Node: Integration Test Results

280 tests  ±0   280 ✔️ ±0   33m 3s ⏱️ +11s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit 3a15597. ± Comparison against base commit cce3566.

♻️ This comment has been updated with latest results.

david-bakin-sl
david-bakin-sl previously approved these changes Nov 7, 2023
Copy link
Member

@david-bakin-sl david-bakin-sl left a comment

Choose a reason for hiding this comment

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

LGTM with the usual questions and comments I have.

Copy link

github-actions bot commented Nov 7, 2023

Node: HAPI Test Results

1 242 tests  ±0   820 ✔️ +2   1h 23m 52s ⏱️ + 7m 56s
   165 suites ±0   422 💤  - 2 
   165 files   ±0       0 ±0 

Results for commit 3a15597. ± Comparison against base commit cce3566.

♻️ This comment has been updated with latest results.

Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
Copy link
Member

@david-bakin-sl david-bakin-sl 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
Collaborator

@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!

@mhess-swl mhess-swl merged commit 74cbf3f into develop Nov 7, 2023
14 of 15 checks passed
@mhess-swl mhess-swl deleted the migration-test branch November 7, 2023 22:07
Ivo-Yankov pushed a commit that referenced this pull request Nov 9, 2023
Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
Signed-off-by: Ivo Yankov <ivo@devlabs.bg>
nickpoorman pushed a commit that referenced this pull request Nov 22, 2023
Signed-off-by: Matt Hess <matt.hess@swirldslabs.com>
Signed-off-by: Nick Poorman <nick@swirldslabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Modularization Issues or PRs related to modularization
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants