2 Commits

Author SHA1 Message Date
Jürgen Eckel
8dba769ca6
* added creation of random machines to prepare a testcase
* setting all the consensus timeout values at once (if changed)
* mutex protection of the elements tx crafing methods (sequential processing)
* extending the TestMachineNFTIssuance test case to parallel threads and threading issues
* moving all elements-rpc usage to the elementd-connector.go file

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2024-03-07 17:01:47 +01:00
Jürgen Eckel
31b304f232
added TermintionWaitGroup (#336)
* added TermintionWaitGroup
* added mutex to lib/tx
* removed machine attestation thread (to comply with testing-race conditions becoming apparent on the CI)
* renamed test suites to have a clear naming structure
* removed parallel-testing from e2e machine test suite
* improved test suite logging
* removed parallel tests of machine_nft_tests - this caused data races due to the mock overwrites
* reduced error check to "out of gas" due to multi-threading and locking  delays that result in different gas consumptions
* Added waiting blocks to pass the CI

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
2024-03-06 10:52:22 +01:00