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
This PR #2243 attempted to enhance the SDKClient class by adding a deleteFile() function to aid in deleting files created during contract deployment transactions using the Hedera SDK. However, the accompanying unit test suite for the deleteFile() function fails to function properly in a local environment where no Hedera network is configured.
The deleteFile() function relies on the SDK to delete a file from the Hedera network. In the context of the Relay unit test, there is no configured server. Consequently, when the unit test initializes an sdkClient instance, the client has no server (Hedera network) to connect to. As a result, the tests hang and eventually time out.
Given these circumstances, it might be efficient enough to incorporate deleteFile() coverage into the acceptance test rather than the unit test, which has already been done. Thus, the possible solution is to remove the unit test suite for deleteFile().
Steps to reproduce
Run the unit test for Relay exclusively for del;eteFile() suite
Observe the test hangs and eventually timed out
Additional context
No response
Hedera network
mainnet, testnet, previewnet, other
Version
latest
Operating system
None
The text was updated successfully, but these errors were encountered:
Description
This PR #2243 attempted to enhance the SDKClient class by adding a deleteFile() function to aid in deleting files created during contract deployment transactions using the Hedera SDK. However, the accompanying unit test suite for the deleteFile() function fails to function properly in a local environment where no Hedera network is configured.
The deleteFile() function relies on the SDK to delete a file from the Hedera network. In the context of the Relay unit test, there is no configured server. Consequently, when the unit test initializes an sdkClient instance, the client has no server (Hedera network) to connect to. As a result, the tests hang and eventually time out.
Given these circumstances, it might be efficient enough to incorporate deleteFile() coverage into the acceptance test rather than the unit test, which has already been done. Thus, the possible solution is to remove the unit test suite for deleteFile().
Steps to reproduce
Additional context
No response
Hedera network
mainnet, testnet, previewnet, other
Version
latest
Operating system
None
The text was updated successfully, but these errors were encountered: