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

itest: add optional 10k asset test #325

Merged
merged 10 commits into from
Jun 22, 2023
Merged

itest: add optional 10k asset test #325

merged 10 commits into from
Jun 22, 2023

Commits on Jun 21, 2023

  1. multi: support optional itest cases

    In this commit, we add additional make commands to run optional itests,
    where specific test cases are still specified with the 'icase' variable.
    Additional optional itests are added in the same way as default itests.
    We also remove the old-style build tags that were replaced with Go 1.17.
    jharveyb authored and guggero committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    fabda90 View commit details
    Browse the repository at this point in the history
  2. itest: reduce test harness overhead for minting

    In this commit, we update the logic used in all itests to mint assets
    to reduce the number of RPC calls made and total time spent on asserts.
    We also separate waiting for the planter to change state and checking
    the daemon state.
    jharveyb authored and guggero committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    23b9e6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72c0ad4 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. universe: add more logging around universe IDs

    Because the String() function just returns the hash of the ID, it is
    hard to debug whether both the asset ID and group key are set during
    universe sync. This commit adds a bit more information to certain log
    lines.
    guggero committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    529ee4b View commit details
    Browse the repository at this point in the history
  2. itest+universe: add batch mint stress test

    In this commit, we add a test that mints a large batch of collectibles
    with large metadata, and then checks that the batch mint succeeded.
    This includes correctly updating the universe server of the minting
    node, and syncing that universe tree to a second node.
    jharveyb authored and guggero committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    7a47939 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    202e446 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2ff0bc View commit details
    Browse the repository at this point in the history
  5. tapd: detect SQLITE_BUSY and re-try

    If SQLITE_BUSY is returned, it means waiting for a transaction failed
    because too many other readers/writers are currently using the DB. We
    can detect that error, convert it into a serialization error and detect
    that in the existing retry loop.
    We also re-try if creating or committing a transaction fails with a
    serialization error.
    guggero committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    1a5e1e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b190d32 View commit details
    Browse the repository at this point in the history
  7. make: increase test timeout

    guggero committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    5f50445 View commit details
    Browse the repository at this point in the history