You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They use assert.Eventually which apparently isn't necessary (Horizon seems to guarantee strict ordering after submitting a transaction).
Part of the machinery could be moved into the integration-test infrastructure.
Test could potentially be merged (they all follow a similar workflow). It may not be possible since different tests have different particularities (e.g. claimable balances cannot be explicitly revoked).
The text was updated successfully, but these errors were encountered:
I haven't been exposed much to the sponsorship tests, and it would be good to familiarize myself with that side of the Protocol 14 changes. Do you mind if I pick this up?
… & flexibility. (#3090)
Refactors the sponsorship (CAP-33) integration tests:
- Each test is independently runs as a sub-test of the "TestSponsorships" test.
- It introduces helper functions commonly used in each tests such as
sandwiching sponsored operations, retrieving operations and effects, and
confirming the existence of operations via `tt.Condition`.
- `itest.MustGetAccount()` replaces instances of a manual force-retrieval of an
account, and account/keypair management in general is simpler.
- Running time is ~3x faster.
All of the actual _testing_ is still the same. Investigation on using
`testing.T.Parallel` is in progress which should further improve running time.
Closes#3075.
assert.Eventually
which apparently isn't necessary (Horizon seems to guarantee strict ordering after submitting a transaction).The text was updated successfully, but these errors were encountered: