ZcashLightClientKit/Tests/DarksideTests
Michal Fousek 8e5db5e0b5 [#876] Add tests which runs multiple instances of the SDKSynchronizer
Closes #876.

- Add `testMultipleSynchronizersCanRunAtOnce()` test which creates
  multiple instances of the `SDKSynchronizer` and then executes sync in
  parallel.
- To achieve this it's required to have multiple instances of the
  lightwalletd in the darkside mode. Because of this new test is in the
  new target `AliasDarksideTests`. It's little bit harder to run this
  test than to run regular darkside tests. So it has it's own target.
- Fix bug when all the instances of the `SDKSynchronizer` used same data
  DB even with different aliases.
- Add script to run multiple instances of the lightwalletd in
  darkside mode. And add script to stop these instances and clean after
  those.
- Update `DarksideWalletService` a little so the endpoint can be passed
  to it. Without this it would always use default endpoint when created
  with service.
- Small cleanup in `TestCoordinator`.
2023-03-28 16:11:13 +02:00
..
AdvancedReOrgTests.swift [#484] Use async for TransactionsRepository 2023-03-28 10:17:14 +02:00
BalanceTests.swift [#484] Use async for TransactionsRepository 2023-03-28 10:17:14 +02:00
BlockDownloaderTests.swift [#876] Add tests which runs multiple instances of the SDKSynchronizer 2023-03-28 16:11:13 +02:00
DarksideSanityCheckTests.swift [#831] Add SDKSynchronizer wrappers for non-async API 2023-03-21 22:47:19 +01:00
InternalStateConsistencyTests.swift [#484] Use async for TransactionsRepository 2023-03-28 10:17:14 +02:00
PendingTransactionUpdatesTest.swift [#831] Add SDKSynchronizer wrappers for non-async API 2023-03-21 22:47:19 +01:00
ReOrgTests.swift [#870] LightWalletGRPCService is using only async streamer 2023-03-27 13:45:22 +02:00
RewindRescanTests.swift [#484] Use async for TransactionsRepository 2023-03-28 10:17:14 +02:00
ShieldFundsTests.swift [#484] Use async for TransactionsRepository 2023-03-28 10:17:14 +02:00
SychronizerDarksideTests.swift [#484] Use async for TransactionsRepository 2023-03-28 10:17:14 +02:00
SynchronizerTests.swift [#484] Use async for TransactionsRepository 2023-03-28 10:17:14 +02:00
TransactionEnhancementTests.swift [#209] Add support for multiple instances of the SDKSynchronizer 2023-03-27 20:42:52 +02:00
Z2TReceiveTests.swift [#831] Add SDKSynchronizer wrappers for non-async API 2023-03-21 22:47:19 +01:00