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

testing: Prepare light client testing with substrate binary and add subxt-test macro #1507

Merged
merged 44 commits into from
Apr 8, 2024

Commits on Feb 29, 2024

  1. testing: Add long running light client flag and cfg aliases

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    34e9222 View commit details
    Browse the repository at this point in the history
  2. testing: Expose clients depending on feature flags

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    518aa8e View commit details
    Browse the repository at this point in the history
  3. subxt: Use unstable backend for light client

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ea6f3cc View commit details
    Browse the repository at this point in the history
  4. testing: Disable flaky lightclient tests

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ca36ef6 View commit details
    Browse the repository at this point in the history
  5. ci: Add long runnnig step

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    8fe7e86 View commit details
    Browse the repository at this point in the history
  6. Revert "subxt: Use unstable backend for light client"

    This reverts commit ea6f3cc.
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    593fbeb View commit details
    Browse the repository at this point in the history
  7. ci: Long running tests for 60 mins

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    1fc1bb4 View commit details
    Browse the repository at this point in the history
  8. ci: Use 16 cores for light-client testing

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ca60c31 View commit details
    Browse the repository at this point in the history
  9. ci: Isolate light-client testing to save CI minutes

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3c58c5e View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. testing: Retry on Tx::Dropped for lightclinet only

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    0248343 View commit details
    Browse the repository at this point in the history
  2. testing: Wait for more blocks for the lightclient init

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    8400a0e View commit details
    Browse the repository at this point in the history
  3. subxt: Use unstable backend for light client

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    d671664 View commit details
    Browse the repository at this point in the history
  4. testing: Disable legacy RPC tests

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    318ba5c View commit details
    Browse the repository at this point in the history
  5. testing: Disable sudo and contracts tests

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    1a6f1af View commit details
    Browse the repository at this point in the history
  6. testing: Retry constructing lightclient on read-proof errors

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    332fa72 View commit details
    Browse the repository at this point in the history
  7. testing: Disable tx dynamic test

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    88ccc54 View commit details
    Browse the repository at this point in the history
  8. proc-macro: Timeout for tests

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b6c98c7 View commit details
    Browse the repository at this point in the history
  9. testing: Add timeout 800 seconds

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    20e75bc View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. proc-macro/tests: Adjust subxt-test proc-macro

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    c5c7972 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. proc-macro: Rename crate to subxt-test-proc-macro

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    d3923c8 View commit details
    Browse the repository at this point in the history
  2. Use default subxt-proc-macro timeout

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    1a64750 View commit details
    Browse the repository at this point in the history
  3. light-client: Remove println

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    4c3226e View commit details
    Browse the repository at this point in the history
  4. subxt: Remove tokio as dependency, use it only for testing

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    fbe2a74 View commit details
    Browse the repository at this point in the history
  5. testing: Chagne default timeout to 6 seconds

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    30073d3 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. proc-macro: Add env timeout variable

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    aa55cea View commit details
    Browse the repository at this point in the history
  2. ci: Add subxt env var for controling test timeouts

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    09277fe View commit details
    Browse the repository at this point in the history
  3. tests/tx-retries: Retry on Non node available error

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    5039f1c View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Merge remote-tracking branch 'origin/master' into lenxv/light-client-…

    …testing
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    410aaed View commit details
    Browse the repository at this point in the history
  2. testing: Use unstable backend for testing lightclient

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    d81c70c View commit details
    Browse the repository at this point in the history
  3. testing: Remove old lightclient object

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    00c4b78 View commit details
    Browse the repository at this point in the history
  4. testing: Adjust for the new interface

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    03da904 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. backend/rpc: Allow older version of the initialized event

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    292f971 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. rpc/tests: Check initialized decodes correctly

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    2bc8947 View commit details
    Browse the repository at this point in the history
  2. ci: Reset workflow

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    811f70c View commit details
    Browse the repository at this point in the history
  3. Apply cargo fmt

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    2bb8acb View commit details
    Browse the repository at this point in the history
  4. Remove unused dep

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    1fdd734 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1bc6eb9 View commit details
    Browse the repository at this point in the history
  6. Remove gitmerge old file

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    5692703 View commit details
    Browse the repository at this point in the history
  7. Remove unused dep

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    fd47be1 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. rename proc-macro to subxt-test-macro

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    be4b34c View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. tests: Remove txretries for lightclient

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    7270da8 View commit details
    Browse the repository at this point in the history
  2. tests: Wait for 5 blocks for the lightclient full testing suite

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    a62ceb7 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. tests: Group imports

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    7664b56 View commit details
    Browse the repository at this point in the history
  2. macro: Rename const value

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    510578f View commit details
    Browse the repository at this point in the history