HAPI tests annotated with @GenesisHapiTest initialize two Hedera instances. One is created by TestLifecycleExtension, and one more comes from NetworkTargetingExtension. This hasn't been a problem for long, but now some parts of the platform are more sensitive to state initialization and shutdown. One option is to create just one Hedera instance, another is to make sure the first instance is destroyed properly first, then the second instance is initialized.
HAPI tests annotated with
@GenesisHapiTestinitialize two Hedera instances. One is created byTestLifecycleExtension, and one more comes fromNetworkTargetingExtension. This hasn't been a problem for long, but now some parts of the platform are more sensitive to state initialization and shutdown. One option is to create just one Hedera instance, another is to make sure the first instance is destroyed properly first, then the second instance is initialized.