hedera-services
hedera-services copied to clipboard
test: use temp dir instead of `**/swirlds-tmp`
Description:
This PR builds upon the changes from https://github.com/hashgraph/hedera-services/pull/14157, fixing for the only one left directory (**/swirlds-tmp
).
Related issue(s):
Fixes https://github.com/hashgraph/hedera-services/issues/6714
Notes for reviewer:
The changes introduced are mostly in platform-sdk
tests, I have opened this as separate PR from https://github.com/hashgraph/hedera-services/pull/14157 in order to make reviewing easier (i.e. smaller diff).
Apart from test files there are also som implementation files where changes were introduced, namely MerkleDb.java
and LongListDisk.java
, replacing the usage of the deprecated LegacyTemporaryFileBuilder
with Files.createTempDirectory()
. Additionally some files were updated in order to limit the usage of the deprecated ConfigurationHolder
.
Checklist
- [ ] Documented (Code comments, README, etc.)
- [X] Tested (unit, integration, etc.)